(fix): module declaration slog->sneklog
Golang lint / lint (push) Failing after 48s

This commit is contained in:
2026-04-27 09:56:46 +03:00
parent d534f92d48
commit 19f8750d35
6 changed files with 14 additions and 14 deletions
+3 -3
View File
@@ -3,7 +3,7 @@
## Highlights
- Renamed the public Go package from `slog` to `sneklog` to avoid confusion with the standard library `log/slog` package.
- Moved the module path to `git.scuroneko.dev/scuroneko/slog/v2` for Go module major-version compatibility.
- Moved the module path to `git.scuroneko.dev/scuroneko/sneklog/v2` for Go module major-version compatibility.
- Replaced fixed text writer settings with formatter-based output customization.
- Added built-in ANSI color support and removed the external `github.com/fatih/color` dependency tree.
- Formatters: a new way do display your logs!
@@ -13,7 +13,7 @@
- Import paths must use the `/v2` module suffix:
```go
import sneklog "git.scuroneko.dev/scuroneko/slog/v2"
import "git.scuroneko.dev/scuroneko/sneklog/v2"
```
- Package references should use `sneklog` instead of `slog`.
@@ -76,7 +76,7 @@ text := logger.CreateTextStdoutWriter()
After:
```go
import sneklog "git.scuroneko.dev/scuroneko/slog/v2"
import sneklog "git.scuroneko.dev/scuroneko/sneklog/v2"
logger := sneklog.CreateLogger().
Prefix("API").