MCPcopy
hub / github.com/spf13/viper / GetUint32

Method GetUint32

viper.go:848–850  ·  view source on GitHub ↗
(key string)

Source from the content-addressed store, hash-verified

846func GetUint32(key string) uint32 { return v.GetUint32(key) }
847
848func (v *Viper) GetUint32(key string) uint32 {
849 return cast.ToUint32(v.Get(key))
850}
851
852// GetUint64 returns the value associated with the key as an unsigned integer.
853func GetUint64(key string) uint64 { return v.GetUint64(key) }

Callers 2

TestMergeConfigFunction · 0.80
GetUint32Function · 0.80

Calls 1

GetMethod · 0.95

Tested by 1

TestMergeConfigFunction · 0.64