This commit is contained in:
vet
2026-05-28 00:16:19 +08:00
commit 52446ccf3f
54 changed files with 4617 additions and 0 deletions

12
pkg/log/log.go Normal file
View File

@@ -0,0 +1,12 @@
package log
import (
"log/slog"
"os"
)
type Logger = *slog.Logger
func New() Logger {
return slog.New(slog.NewTextHandler(os.Stdout, nil))
}