Package defaults provides a struct tag-based mechanism to set default values for Go struct fields.
go get github.com/creasty/defaultsNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Initialize a struct with default values defined in struct tags.
No known issues recorded.
No dependency data recorded yet.