lxd/config/map.go
func (m *Map) GetInt64(name string) int64 {
	m.schema.assertKeyType(name, Int64)
	n, err := strconv.ParseInt(m.GetRaw(name), 10, 64)
	if err != nil {
		panic(fmt.Sprintf("cannot convert to int64: %v", err))
	}
	return n
}
func (m *Map) GetInt64(name string) int64 {
	m.schema.assertKeyType(name, Int64)
	n, err := strconv.ParseInt(m.GetRaw(name), 10, 64)
	if err != nil {
		panic(fmt.Sprintf("cannot convert to int64: %v", err))
	}
	return n
}
func ( m * Map ) GetInt64 ( name string ) int64 { m . schema . assertKeyType ( name , Int64 ) n , err := strconv . ParseInt ( m . GetRaw ( name ) , 10 , 64 ) if err != nil { panic ( fmt . Sprintf ( " " , err ) ) } return n }
// GetInt64 returns the value of the given key, which must be of type Int64.
GetInt64 returns the value of the given key which must be of type Int64 .