Documentation
¶
Index ¶
- Variables
- type Decimal
- type NullDecimal
- type SMap
- func (m SMap) Del(key string)
- func (m SMap) Get(name string) string
- func (m SMap) GetWithDefault(name string, def string) string
- func (m SMap) Keys() []string
- func (m *SMap) MapScan(obj interface{}) error
- func (m SMap) MarshalBinary() (data []byte, err error)
- func (m SMap) Read(p []byte) (n int, err error)
- func (m SMap) Scan(obj interface{}) errordeprecated
- func (m SMap) ScanTo(obj interface{}) error
- func (m SMap) Set(key, val string)
- func (m SMap) Translate(tpl string) string
- func (m SMap) Value() (driver.Value, error)
- func (m SMap) Values() map[string]string
- type XMap
- func (m XMap) Get(name string) (interface{}, bool)
- func (m XMap) GetBool(name string) bool
- func (m XMap) GetFloat64(key string) (float64, error)
- func (m XMap) GetInt(key string) (int, error)
- func (m XMap) GetInt64(key string) (int64, error)
- func (m XMap) GetString(name string) string
- func (m XMap) IsEmpty() bool
- func (m XMap) Keys() []string
- func (m XMap) Len() int
- func (m *XMap) MapScan(obj interface{}) error
- func (m XMap) MarshalBinary() (data []byte, err error)
- func (m XMap) Merge(r XMap)
- func (m XMap) SMap() SMap
- func (m XMap) Scan(obj interface{}) error
- func (m XMap) ScanTo(obj interface{}) error
- func (m XMap) Translate(tpl string) string
- func (m XMap) Value() (driver.Value, error)
- type XMaps
- func (ms *XMaps) Append(i ...XMap) XMaps
- func (ms XMaps) Get(idx int) XMap
- func (ms XMaps) IsEmpty() bool
- func (ms XMaps) Len() int
- func (m *XMaps) MapScan(obj interface{}) error
- func (m XMaps) MarshalBinary() (data []byte, err error)
- func (ms XMaps) Scan(obj interface{}) errordeprecated
- func (ms XMaps) ScanTo(obj interface{}) error
- func (m XMaps) Value() (driver.Value, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Deprecated: As of Go v0.2.0, this function simply calls [xreflect.GetBool]. GetBool = xreflect.GetBool // Deprecated: As of Go v0.2.0, this function simply calls [xreflect.GetString]. GetString = xreflect.GetString // Deprecated: As of Go v0.2.0, this function simply calls [xreflect.GetInt]. GetInt = xreflect.GetInt // Deprecated: As of Go v0.2.0, this function simply calls [xreflect.GetInt64]. GetInt64 = xreflect.GetInt64 // Deprecated: As of Go v0.2.0, this function simply calls [xreflect.GetUint64]. GetUint64 = xreflect.GetUint64 // Deprecated: As of Go v0.2.0, this function simply calls [xreflect.GetFloat64]. GetFloat64 = xreflect.GetFloat64 )
View Source
var AvgDecimal = decimal.Avg
View Source
var DecimalZero = decimal.Zero
View Source
var MaxDecimal = decimal.Max
View Source
var MinDecimal = decimal.Min
View Source
var NewDecimal = decimal.New
View Source
var NewDecimalFromBigInt = decimal.NewFromBigInt
View Source
var NewDecimalFromFloat = decimal.NewFromFloat
View Source
var NewDecimalFromFloat32 = decimal.NewFromFloat32
View Source
var NewDecimalFromFloatWithExponent = decimal.NewFromFloatWithExponent
View Source
var NewDecimalFromInt = decimal.NewFromInt
View Source
var NewDecimalFromInt32 = decimal.NewFromInt32
View Source
var NewDecimalFromString = decimal.NewFromString
View Source
var SumDecimal = decimal.Sum
Functions ¶
This section is empty.
Types ¶
type NullDecimal ¶ added in v0.1.20
type NullDecimal = decimal.NullDecimal
type XMap ¶
type XMap map[string]interface{}
func (XMap) MarshalBinary ¶
Click to show internal directories.
Click to hide internal directories.