Squashed commit of the following:

commit 5b11756af6
Author: netscrawler <mariarthyjamesoo@gmail.com>
Date:   Thu Jul 4 00:44:15 2024 +0300

    v0.1

commit c99f477e35
Author: netscrawler <mariarthyjamesoo@gmail.com>
Date:   Sun Jun 30 20:44:53 2024 +0300

    v0.0.6
This commit is contained in:
netscrawler
2024-07-04 00:45:11 +03:00
parent 61d2be39f1
commit 3085eb993a
19 changed files with 799 additions and 0 deletions
+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()),
}
}