mirror of
https://github.com/steveiliop56/tinyauth.git
synced 2025-10-28 04:35:40 +00:00
16 lines
265 B
Go
16 lines
265 B
Go
package main
|
|
|
|
import (
|
|
"os"
|
|
"time"
|
|
"tinyauth/cmd"
|
|
|
|
"github.com/rs/zerolog"
|
|
"github.com/rs/zerolog/log"
|
|
)
|
|
|
|
func main() {
|
|
log.Logger = log.Output(zerolog.ConsoleWriter{Out: os.Stderr, TimeFormat: time.RFC3339}).With().Timestamp().Caller().Logger()
|
|
cmd.Run()
|
|
}
|