Peter Kurfer
9ea9a8f658
Some checks failed
Go build / build (push) Failing after 1m58s
- setup ent scheme - add command to create users - document API - add helpers to create migrations - add command to run migrations - add basic compose file
7 lines
112 B
Go
7 lines
112 B
Go
package logging
|
|
|
|
import "log/slog"
|
|
|
|
func Error(err error) slog.Attr {
|
|
return slog.String("err", err.Error())
|
|
}
|