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 map[string]ResultValue
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{}
Click to show internal directories.
Click to hide internal directories.