zarl
banner
zarl.dev
zarl
@zarl.dev
Professional yak shaver disguised as a Go developer.
Pinned
zarl @zarl.dev · Jun 30
⚡⚡ goenums v0.4.3 drops⚡⚡

Go's enums suck but goenums doesn't!

go generate and this tool does it all:
🔌 Auto JSON/DB integration
🚀 Type-safe parsing
🔧 Enum-specific errors for errors.Is()
🚀 Go 1.23+ iterators

go install github.com/zarldev/goenums@v0.4.3

zarldev.github.io/goenums

#golang #go
github.com
⚡⚡ goenums v0.4.3 drops⚡⚡

Go's enums suck but goenums doesn't!

go generate and this tool does it all:
🔌 Auto JSON/DB integration
🚀 Type-safe parsing
🔧 Enum-specific errors for errors.Is()
🚀 Go 1.23+ iterators

go install github.com/zarldev/goenums@v0.4.3

zarldev.github.io/goenums

#golang #go
github.com
June 30, 2025 at 2:22 AM
go.dev/blog/error-s...

if err != nil {
return fmt.Errorsf("if err !=nil 4lyf : %w", err)
}
[ On | No ] syntactic support for error handling - The Go Programming Language
Go team plans around error handling support
go.dev
June 3, 2025 at 7:33 PM
🚀 goenums v0.4.0 is live!

Turn Go iotas into type-safe powerhouses with:
✨ Text/SQL/JSON/YAML/Binary Marshaling
✨ Numeric parsing
✨ Compile-time validation
✨ Go 1.23+ iterators
✨ Zero dependencies

go install github.com/zarldev/goenums@latest

📖 zarldev.github.io/goenums

#golang #go #programming
github.com
June 3, 2025 at 12:42 AM
Does any one else wish
pkg.go.dev/golang.org/x...
was part of the core language?

Yes I know I can redefine them, but I feel they should have been part of the core roll out of generics.

#golang #go #programming #generics
constraints package - golang.org/x/exp/constraints - Go Packages
pkg.go.dev
May 25, 2025 at 4:29 PM
Just released goenums v0.3.8! 🚀

Added Text & Binary (un)marshalling support for the generated enums and fixed some plural name handling.

Cleaner, smarter, and more reliable enums for Go.

Try it out 👉 github.com/zarldev/goenums

#golang #opensource #go
GitHub - zarldev/goenums: Type Safe Enum generator for Go
Type Safe Enum generator for Go. Contribute to zarldev/goenums development by creating an account on GitHub.
github.com
May 4, 2025 at 12:22 AM
I've just released a new version of goenums.
Type-safe enum generation tool for Go!

github.com/zarldev/goen...

#go #golang #enum #programming
GitHub - zarldev/goenums: Type Safe Enum generator for Go
Type Safe Enum generator for Go. Contribute to zarldev/goenums development by creating an account on GitHub.
github.com
April 19, 2025 at 7:01 PM
I got bored again and remade zarl.dev. 😄

I documented the process here:
www.zarl.dev/posts/bored-...

#go #golang #react #reactjs #webdev
zarl.dev
www.zarl.dev
April 3, 2025 at 9:33 PM