docs: use slog [ci skip]

This commit is contained in:
decentral1se 2024-08-01 01:01:43 +02:00
parent f867bf493e
commit e5aca04280
Signed by: decentral1se
GPG Key ID: 03789458B3D0C410

View File

@ -8,14 +8,14 @@
```go
import (
"log"
"log/slog"
auth "git.coopcloud.tech/decentral1se/gtslib-auth-keyring"
)
func main() {
if err := auth.Login("foo@bar.zone"); err != nil {
log.Fatal(err)
slog.Error("unable to login", err)
}
}