21 lines
258 B
Go
21 lines
258 B
Go
|
package main
|
||
|
|
||
|
import (
|
||
|
"flag"
|
||
|
"log"
|
||
|
)
|
||
|
|
||
|
var (
|
||
|
timestamps bool
|
||
|
)
|
||
|
|
||
|
func main() {
|
||
|
flag.BoolVar(×tamps, "timestamps", true, "print timestamps in output")
|
||
|
flag.Parse()
|
||
|
|
||
|
if !timestamps {
|
||
|
log.SetFlags(0)
|
||
|
}
|
||
|
log.Println("Startup rezenssion monolith")
|
||
|
}
|