Skip to content

Commit

Permalink
Add supporting zap logger in grule-rule-engine (#322)
Browse files Browse the repository at this point in the history
  • Loading branch information
krupyansky authored Aug 9, 2022
1 parent f6f3acf commit e4eea1a
Show file tree
Hide file tree
Showing 12 changed files with 638 additions and 36 deletions.
36 changes: 32 additions & 4 deletions antlr/GruleParserV3Listener.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ package antlr

import (
"fmt"
"github.com/sirupsen/logrus"
"go.uber.org/zap"
"strconv"
"strings"

Expand All @@ -24,17 +26,43 @@ import (
"github.com/hyperjumptech/grule-rule-engine/ast"
"github.com/hyperjumptech/grule-rule-engine/logger"
"github.com/hyperjumptech/grule-rule-engine/pkg"
"github.com/sirupsen/logrus"
)

var (
// LoggerV3 is a logrus instance twith default fields for grule
LoggerV3 = logger.Log.WithFields(logrus.Fields{
// loggerV3Fields default fields for grule
loggerV3Fields = logger.Fields{
"lib": "grule",
"struct": "GruleParserV3Listener",
})
}

// LoggerV3 is a logger instance twith default fields for grule
LoggerV3 = logger.Log.WithFields(loggerV3Fields)
)

// SetLogger changes default logger on external
func SetLogger(log interface{}) {
var entry logger.LogEntry

switch log.(type) {
case *zap.Logger:
log, ok := log.(*zap.Logger)
if !ok {
return
}
entry = logger.NewZap(log)
case *logrus.Logger:
log, ok := log.(*logrus.Logger)
if !ok {
return
}
entry = logger.NewLogrus(log)
default:
return
}

LoggerV3 = entry.WithFields(loggerV3Fields)
}

// NewGruleV3ParserListener create new instance of GruleV3ParserListener
func NewGruleV3ParserListener(KnowledgeBase *ast.KnowledgeBase, errorCallBack *pkg.GruleErrorReporter) *GruleV3ParserListener {
return &GruleV3ParserListener{
Expand Down
35 changes: 32 additions & 3 deletions ast/Ast.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ package ast
import (
"github.com/hyperjumptech/grule-rule-engine/logger"
"github.com/sirupsen/logrus"
"go.uber.org/zap"
)

const (
Expand Down Expand Up @@ -49,12 +50,40 @@ const (
)

var (
// AstLog is a logrus instance twith default fields for grule
AstLog = logger.Log.WithFields(logrus.Fields{
// astLogFields default fields for grule
astLogFields = logger.Fields{
"package": "ast",
})
}

// AstLog is a logger instance twith default fields for grule
AstLog = logger.Log.WithFields(astLogFields)
)

// SetLogger changes default logger on external
func SetLogger(log interface{}) {
var entry logger.LogEntry

switch log.(type) {
case *zap.Logger:
log, ok := log.(*zap.Logger)
if !ok {
return
}
entry = logger.NewZap(log)
case *logrus.Logger:
log, ok := log.(*logrus.Logger)
if !ok {
return
}
entry = logger.NewLogrus(log)
default:
return
}

AstLog = entry.WithFields(astLogFields)
GrlLogger = entry.WithFields(grlLoggerFields)
}

// Node defines interface to implement by all AST node models
type Node interface {
GetAstID() string
Expand Down
10 changes: 6 additions & 4 deletions ast/BuiltInFunctions.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,17 @@ import (
"time"

"github.com/hyperjumptech/grule-rule-engine/pkg"
"github.com/sirupsen/logrus"
)

var (
// GrlLogger is the logger that be used from within the rule engine GRL
GrlLogger = logger.Log.WithFields(logrus.Fields{
// grlLoggerFields default fields for grule
grlLoggerFields = logger.Fields{
"package": "AST",
"source": "GRL",
})
}

// GrlLogger is the logger that be used from within the rule engine GRL
GrlLogger = logger.Log.WithFields(grlLoggerFields)
)

// BuiltInFunctions struct hosts the built-in functions ready to invoke from the rule engine execution.
Expand Down
8 changes: 4 additions & 4 deletions ast/WorkingMemory.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ package ast
import (
"fmt"
"github.com/hyperjumptech/grule-rule-engine/ast/unique"
"github.com/hyperjumptech/grule-rule-engine/logger"
"github.com/hyperjumptech/grule-rule-engine/pkg"
"github.com/sirupsen/logrus"
"strings"
"time"
)
Expand Down Expand Up @@ -83,7 +83,7 @@ func (e *WorkingMemory) MakeCatalog(cat *Catalog) {

// DebugContent will shows the working memory mapping content
func (e *WorkingMemory) DebugContent() {
if AstLog.Level <= logrus.DebugLevel {
if AstLog.Level <= logger.DebugLevel {
for varName, vari := range e.variableSnapshotMap {
AstLog.Debugf("Variable %s : %s : %s", varName, vari.GrlText, vari.AstID)

Expand Down Expand Up @@ -218,7 +218,7 @@ func (e *WorkingMemory) Clone(cloneTable *pkg.CloneTable) *WorkingMemory {

// IndexVariables will index all expression and expression atoms that contains a speciffic variable name
func (e *WorkingMemory) IndexVariables() {
if AstLog.Level <= logrus.DebugLevel {
if AstLog.Level <= logger.DebugLevel {
AstLog.Debugf("Indexing %d expressions, %d expression atoms and %d variables.", len(e.expressionSnapshotMap), len(e.expressionAtomSnapshotMap), len(e.variableSnapshotMap))
}
start := time.Now()
Expand Down Expand Up @@ -318,7 +318,7 @@ func (e *WorkingMemory) Reset(name string) bool {
// Returns true if any expression was reset, false if otherwise
func (e *WorkingMemory) ResetVariable(variable *Variable) bool {
AstLog.Tracef("------- resetting variable %s : %s", variable.GrlText, variable.AstID)
if AstLog.Level == logrus.TraceLevel {
if AstLog.Level == logger.TraceLevel {
AstLog.Tracef("%s : Resetting %s", e.ID, variable.GetSnapshot())
}
reseted := false
Expand Down
34 changes: 31 additions & 3 deletions builder/RuleBuilder.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ import (
"github.com/hyperjumptech/grule-rule-engine/ast"
"github.com/hyperjumptech/grule-rule-engine/logger"
"github.com/sirupsen/logrus"
"go.uber.org/zap"
"time"

"github.com/antlr/antlr4/runtime/Go/antlr"
Expand All @@ -28,12 +29,39 @@ import (
)

var (
// BuilderLog is a logrus instance twith default fields for grule
BuilderLog = logger.Log.WithFields(logrus.Fields{
// builderLogFields default fields for grule
builderLogFields = logger.Fields{
"package": "builder",
})
}

// BuilderLog is a logger instance twith default fields for grule
BuilderLog = logger.Log.WithFields(builderLogFields)
)

// SetLogger changes default logger on external
func SetLogger(log interface{}) {
var entry logger.LogEntry

switch log.(type) {
case *zap.Logger:
log, ok := log.(*zap.Logger)
if !ok {
return
}
entry = logger.NewZap(log)
case *logrus.Logger:
log, ok := log.(*logrus.Logger)
if !ok {
return
}
entry = logger.NewLogrus(log)
default:
return
}

BuilderLog = entry.WithFields(builderLogFields)
}

// NewRuleBuilder creates new RuleBuilder instance. This builder will add all loaded rules into the specified knowledgebase.
func NewRuleBuilder(KnowledgeLibrary *ast.KnowledgeLibrary) *RuleBuilder {
return &RuleBuilder{
Expand Down
36 changes: 32 additions & 4 deletions engine/GruleEngine.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,21 +17,49 @@ package engine
import (
"context"
"fmt"
"github.com/sirupsen/logrus"
"go.uber.org/zap"
"sort"
"time"

"github.com/hyperjumptech/grule-rule-engine/ast"
"github.com/hyperjumptech/grule-rule-engine/logger"
"github.com/sirupsen/logrus"
)

var (
// Logger is a logrus instance with default fields for grule
log = logger.Log.WithFields(logrus.Fields{
// logFields default fields for grule
logFields = logger.Fields{
"package": "engine",
})
}

// Logger is a logger instance with default fields for grule
log = logger.Log.WithFields(logFields)
)

// SetLogger changes default logger on external
func SetLogger(externalLog interface{}) {
var entry logger.LogEntry

switch externalLog.(type) {
case *zap.Logger:
log, ok := externalLog.(*zap.Logger)
if !ok {
return
}
entry = logger.NewZap(log)
case *logrus.Logger:
log, ok := externalLog.(*logrus.Logger)
if !ok {
return
}
entry = logger.NewLogrus(log)
default:
return
}

log = entry.WithFields(logFields)
}

// NewGruleEngine will create new instance of GruleEngine struct.
// It will set the max cycle to 5000
func NewGruleEngine() *GruleEngine {
Expand Down
3 changes: 1 addition & 2 deletions examples/Concurrency_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ import (
"github.com/hyperjumptech/grule-rule-engine/engine"
"github.com/hyperjumptech/grule-rule-engine/logger"
"github.com/hyperjumptech/grule-rule-engine/pkg"
"github.com/sirupsen/logrus"
"github.com/stretchr/testify/assert"
"sync"
"testing"
Expand Down Expand Up @@ -57,7 +56,7 @@ var (
// syncD is a mutex object to protect threadFinishMap from concurrent map read/write
syncD = sync.Mutex{}

concurrencyTestlog = logger.Log.WithFields(logrus.Fields{
concurrencyTestlog = logger.Log.WithFields(logger.Fields{
"lib": "grule",
"file": "examples/Concurrency_test.go",
})
Expand Down
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ require (
github.com/bmatcuk/doublestar v1.3.2
github.com/google/uuid v1.1.1
github.com/sirupsen/logrus v1.8.1
github.com/stretchr/testify v1.6.1
golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550 // indirect
github.com/stretchr/testify v1.7.0
go.uber.org/zap v1.21.0
golang.org/x/net v0.0.0-20210805182204-aaa1db679c0d // indirect
golang.org/x/sys v0.0.0-20210809222454-d867a43fc93e // indirect
gopkg.in/src-d/go-billy.v4 v4.3.2
Expand Down
34 changes: 31 additions & 3 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ github.com/antlr/antlr4/runtime/Go/antlr v0.0.0-20220527190237-ee62e23da966 h1:m
github.com/antlr/antlr4/runtime/Go/antlr v0.0.0-20220527190237-ee62e23da966/go.mod h1:F7bn7fEU90QkQ3tnmaTx3LTKLEDqnwWODIYppRQ5hnY=
github.com/armon/go-socks5 v0.0.0-20160902184237-e75332964ef5 h1:0CwZNZbxp69SHPdPJAN/hZIm0C4OItdklCFmMRWYpio=
github.com/armon/go-socks5 v0.0.0-20160902184237-e75332964ef5/go.mod h1:wHh0iHkYZB8zMSxRWpUBQtwG5a7fFgvEO+odwuTv2gs=
github.com/benbjohnson/clock v1.1.0 h1:Q92kusRqC1XV2MjkWETPvjJVqKetz1OzxZB7mHJLju8=
github.com/benbjohnson/clock v1.1.0/go.mod h1:J11/hYXuz8f4ySSvYwY0FKfm+ezbsZBKZxNJlLklBHA=
github.com/bmatcuk/doublestar v1.3.2 h1:mzUncgFmpzNUhIITFqGdZ8nUU0O7JTJzRO8VdkeLCSo=
github.com/bmatcuk/doublestar v1.3.2/go.mod h1:wiQtGV+rzVYxB7WIlirSN++5HPtPlXEo9MEoZQC/PmE=
github.com/creack/pty v1.1.7/go.mod h1:lj5s0c3V2DBrqTV7llrYr5NG6My20zk30Fl46Y7DoTY=
Expand Down Expand Up @@ -49,37 +51,60 @@ github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+
github.com/stretchr/objx v0.2.0/go.mod h1:qt09Ya8vawLte6SNmTgCsAVtYtaKzEcn8ATUoHMkEqE=
github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs=
github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI=
github.com/stretchr/testify v1.6.1 h1:hDPOHmpOpP40lSULcqw7IrRb/u7w6RpDC9399XyoNd0=
github.com/stretchr/testify v1.6.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
github.com/stretchr/testify v1.7.0 h1:nwc3DEeHmmLAfoZucVR881uASk0Mfjw8xYJ99tb5CcY=
github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
github.com/xanzy/ssh-agent v0.2.1 h1:TCbipTQL2JiiCprBWx9frJ2eJlCYT00NmctrHxVAr70=
github.com/xanzy/ssh-agent v0.2.1/go.mod h1:mLlQY/MoOhWBj+gOGMQkOeiEvkx+8pJSI+0Bx9h2kr4=
github.com/yuin/goldmark v1.3.5/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1Zlc8k=
go.uber.org/atomic v1.7.0 h1:ADUqmZGgLDDfbSL9ZmPxKTybcoEYHgpYfELNoN+7hsw=
go.uber.org/atomic v1.7.0/go.mod h1:fEN4uk6kAWBTFdckzkM89CLk9XfWZrxpCo0nPH17wJc=
go.uber.org/goleak v1.1.11 h1:wy28qYRKZgnJTxGxvye5/wgWr1EKjmUDGYox5mGlRlI=
go.uber.org/goleak v1.1.11/go.mod h1:cwTWslyiVhfpKIDGSZEM2HlOvcqm+tG4zioyIeLoqMQ=
go.uber.org/multierr v1.6.0 h1:y6IPFStTAIT5Ytl7/XYmHvzXQ7S3g/IeZW9hyZ5thw4=
go.uber.org/multierr v1.6.0/go.mod h1:cdWPpRnG4AhwMwsgIHip0KRBQjJy5kYEpYjJxpXp9iU=
go.uber.org/zap v1.21.0 h1:WefMeulhovoZ2sYXz7st6K0sLj7bBhpiFaud4r4zST8=
go.uber.org/zap v1.21.0/go.mod h1:wjWOCqI0f2ZZrJF/UufIOkiC8ii6tm1iqIsLo76RfJw=
golang.org/x/crypto v0.0.0-20190219172222-a4c6cb3142f2/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4=
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
golang.org/x/crypto v0.0.0-20190701094942-4def268fd1a4/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550 h1:ObdrDkeb4kJdCP557AjRjq69pTHfNouLtWZG7j9rPN8=
golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
golang.org/x/lint v0.0.0-20190930215403-16217165b5de/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc=
golang.org/x/mod v0.4.2/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA=
golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
golang.org/x/net v0.0.0-20190724013045-ca1201d0de80/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4/go.mod h1:p54w0d4576C0XHj96bSt6lcn1PtDYWL6XObtHCRCNQM=
golang.org/x/net v0.0.0-20210805182204-aaa1db679c0d h1:20cMwl2fHAzkJMEA+8J4JgqBQcQGzbisXo31MIeenXI=
golang.org/x/net v0.0.0-20210805182204-aaa1db679c0d/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y=
golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.0.0-20210220032951-036812b2e83c/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20190221075227-b4e8571b14e0/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20190726091711-fc99dfbffb4e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20191026070338-33540a1f6037/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20210330210617-4fbd30eecc44/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20210423082822-04245dca01da/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20210510120138-977fb7262007/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20210809222454-d867a43fc93e h1:WUoyKPm6nCo1BnNUvPGnFG3T5DUVem42yDJZZ4CNxMA=
golang.org/x/sys v0.0.0-20210809222454-d867a43fc93e/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo=
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk=
golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
golang.org/x/text v0.3.6 h1:aRYxNxv6iGQlyVaZmk6ZgYEDa+Jg18DxebPSrd6bg1M=
golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs=
golang.org/x/tools v0.0.0-20190729092621-ff9f1409240a/go.mod h1:jcCCGcm9btYwXyDqrUWc6MKQKKGJCWEQ3AfLSRIbEuI=
golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
golang.org/x/tools v0.1.5/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk=
golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 h1:qIbj1fsPNlZgppZ+VLlY7N33q108Sa+fhmuc+sWQYwY=
gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
Expand All @@ -91,5 +116,8 @@ gopkg.in/src-d/go-git.v4 v4.13.1 h1:SRtFyV8Kxc0UP7aCHcijOMQGPxHSmMOPrzulQWolkYE=
gopkg.in/src-d/go-git.v4 v4.13.1/go.mod h1:nx5NYcxdKxq5fpltdHnPa2Exj4Sx0EclMWZQbYDu2z8=
gopkg.in/warnings.v0 v0.1.2 h1:wFXVbFY8DY5/xOe1ECiWdKCzZlxgshcYVNkBHstARME=
gopkg.in/warnings.v0 v0.1.2/go.mod h1:jksf8JmL6Qr/oQM2OXTHunEvvTAsrWBLb6OOjuVWRNI=
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c h1:dUUwHk2QECo/6vqA44rthZ8ie2QXMNeKRTHCNY2nXvo=
gopkg.in/yaml.v2 v2.2.8 h1:obN1ZagJSUGI0Ek/LBmuj4SNLPfIny3KsKFopxRdj10=
gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b h1:h8qDotaEPuJATrMmW04NCwg7v22aHH28wwpauUhK9Oo=
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
Loading

0 comments on commit e4eea1a

Please sign in to comment.