mirror of
https://github.com/trafficlunar/api.git
synced 2026-06-27 22:24:08 +00:00
initial commit
This commit is contained in:
commit
f338d86663
3 changed files with 25 additions and 0 deletions
13
cmd/backend/main.go
Normal file
13
cmd/backend/main.go
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
package main
|
||||
|
||||
import (
|
||||
"log/slog"
|
||||
"os"
|
||||
|
||||
"github.com/lmittmann/tint"
|
||||
)
|
||||
|
||||
func main() {
|
||||
logger := slog.New(tint.NewHandler(os.Stderr, nil))
|
||||
slog.SetDefault(logger)
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue