go-github-com-creasty-defaults 1.8.0
Initialize structs with default values
This package implements functionality to initialize structs with default values. It supports almost all kind of types: int/8/16/32/64
, uint/8/16/32/64
, float32/64
, uintptr
, bool
, string
, map
, slice
, struct
, f,map[K1]map[K2]Struct
, []map[K1]Struct[]
- Outputs:
out
- Website: https://github.com/creasty/defaults
- Licenses: Expat
- Package source: gnu/packages/golang-xyz.scm
- Builds: See build status
- Issues: See known issues
Installation
Install go-github-com-creasty-defaults 1.8.0
as follows:
guix install go-github-com-creasty-defaults@1.8.0
Or install the latest version:
guix install go-github-com-creasty-defaults
You can also install packages in augmented, pure or containerized environments for development or simply to try them out without polluting your user profile. See the guix shell
documentation for more information.