//
pkg.gl
Category
github.com/kyaxcorp/go-struct
defaults
package
1.0.4
Repository:
https://github.com/kyaxcorp/go-struct.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
6
Dependents
0
Files
197 SLOC
#
Packages
fixture
No description provided by the author
#
Functions
CanUpdate
CanUpdate returns true when the given value is an initial value of its type.
MustSet
MustSet function is a wrapper of Set function It will call Set and panic if err not equals nil.
Set
Set initializes members in a struct referenced by a pointer.
#
Interfaces
Setter
Setter is an interface for setting default values.