go_clientinfo/cmd/clientinfo/consts.go
2024-12-12 02:22:54 -05:00

19 lines
386 B
Go

package main
import (
`log`
sysdUtil `github.com/coreos/go-systemd/util`
`github.com/go-playground/validator/v10`
)
var (
isSystemd bool = sysdUtil.IsRunningSystemd()
validate *validator.Validate = validator.New(validator.WithRequiredStructEnabled())
)
const (
logFlags int = log.LstdFlags | log.Lmsgprefix
logFlagsDebug int = logFlags | log.Llongfile
)