mirror of
https://github.com/netscrawler/changeAPI.git
synced 2026-12-04 21:04:19 +00:00
v0.0.6
This commit is contained in:
1 parent
61d2be39f1
commit
c99f477e35
15 files changed
+468
No files matched your search
@@ -0,0 +1,12 @@
|
||||
package sl
|
||||
|
||||
import (
|
||||
"log/slog"
|
||||
)
|
||||
|
||||
func Err(err error) slog.Attr {
|
||||
return slog.Attr{
|
||||
Key: "error",
|
||||
Value: slog.StringValue(err.Error()),
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user