main.go
Function main
has 82 lines of code (exceeds 50 allowed). Consider refactoring. Open
Open
func main() {
ctx := context.Background()
listenAddr := flag.String("listen-addr", "127.0.0.1:3000", "server listen address")
logLevel := flag.String("log-level", os.Getenv("LOG_LEVEL"), "log level (debug, info, warn, error, fatal)")