Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var InvalidOption = errors.New("invalid role option")
Functions ¶
func FormattedString ¶
func Initialize ¶
func Initialize(logger *zap.SugaredLogger)
Types ¶
type Result ¶
type Result struct {
// contains filtered or unexported fields
}
func (Result) KeyValueStrings ¶ added in v0.1.5
func (Result) OneField ¶
func (r Result) OneField() (rv ResultValue, err error)
type ResultValue ¶
type ResultValue struct {
// contains filtered or unexported fields
}
func NewResultValue ¶
func NewResultValue(org interface{}) ResultValue
func (*ResultValue) AsFloat ¶
func (rv *ResultValue) AsFloat() (float64, error)
func (*ResultValue) AsString ¶
func (rv *ResultValue) AsString() string
func (*ResultValue) Formatted ¶
func (rv *ResultValue) Formatted() string
func (*ResultValue) Org ¶
func (rv *ResultValue) Org() interface{}
type Results ¶
type Results []Result
func (Results) OneField ¶
func (rs Results) OneField() (rv ResultValue, err error)
func (Results) RowsKeyValues ¶ added in v0.1.5
Click to show internal directories.
Click to hide internal directories.