This commit is contained in:
netscrawler committed 2024-06-30 20:44:53 +03:00
1 parent 61d2be39f1
commit c99f477e35
15 files changed
+468

No files matched your search

+12
View File
@@ -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()),
}
}