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

Method GetInt64

viper.go:820–822  ·  view source on GitHub ↗
(key string)

Source from the content-addressed store, hash-verified

818func GetInt64(key string) int64 { return v.GetInt64(key) }
819
820func (v *Viper) GetInt64(key string) int64 {
821 return cast.ToInt64(v.Get(key))
822}
823
824// GetUint8 returns the value associated with the key as an unsigned integer.
825func GetUint8(key string) uint8 { return v.GetUint8(key) }

Callers 3

TestMergeConfigFunction · 0.80
TestMergeConfigMapFunction · 0.80
GetInt64Function · 0.80

Calls 1

GetMethod · 0.95

Tested by 2

TestMergeConfigFunction · 0.64
TestMergeConfigMapFunction · 0.64