🎨 Added config comment in main.go

This commit is contained in:
Maxim Lebedev 2023-01-16 16:35:26 +06:00
parent c42bef9895
commit 39023a1df3
Signed by: toby3d
GPG Key ID: 1F14E25B7C119FC5
1 changed files with 3 additions and 1 deletions

View File

@ -92,7 +92,8 @@ const (
//nolint:gochecknoglobals
var (
// NOTE(toby3d): write logs in stdout, see: https://12factor.net/logs
logger = log.New(os.Stdout, "IndieAuth\t", log.Lmsgprefix|log.LstdFlags|log.LUTC)
logger = log.New(os.Stdout, "IndieAuth\t", log.Lmsgprefix|log.LstdFlags|log.LUTC)
// NOTE(toby3d): read configuration from environment, see: https://12factor.net/config
config = new(domain.Config)
indieAuthClient = &domain.Client{
URL: make([]*url.URL, 1),
@ -101,6 +102,7 @@ var (
}
)
//nolint:gochecknoglobals
var cpuProfilePath, memProfilePath string
//go:embed assets/*