You've already forked Go-Template
add linting configuration and update logging context key type
Some checks failed
🧪 ✨ Unit Tests Workflow / 🔍 🐹 Go Tests (push) Has been cancelled
Some checks failed
🧪 ✨ Unit Tests Workflow / 🔍 🐹 Go Tests (push) Has been cancelled
This commit is contained in:
@@ -5,7 +5,10 @@ import (
|
||||
log "github.com/sirupsen/logrus"
|
||||
)
|
||||
|
||||
const contextKey = "logger"
|
||||
type contextKeyType string
|
||||
|
||||
const contextKey contextKeyType = "logger
|
||||
const contextKey contextKeyType = "logger"
|
||||
|
||||
type Interface interface {
|
||||
Info(format string, args ...interface{})
|
||||
|
||||
Reference in New Issue
Block a user