Documentation ¶
Index ¶
- func EmptyOrDefault(ori, def string) string
- func GetFloat64(ori string) (float64, error)
- func GetInt64(ori string) (int64, error)
- func GetIntOrDef(ori string, def int) int
- func JoinWith(set mapset.Set, sep string) string
- func MustToString(str interface{}) string
- func NewString(str string) *string
- func ParseBoolOrDefault(val string, def bool) bool
- func ParseBoolOrNil(val string) *bool
- func ParseIntOrDefault(val string, def int64) int64
- func ParseIntOrNil(val string) *int64
- func SqlStringOrEmpty(str sql.NullString) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EmptyOrDefault ¶
func GetFloat64 ¶
func GetIntOrDef ¶
func MustToString ¶
func MustToString(str interface{}) string
func ParseBoolOrDefault ¶
func ParseBoolOrNil ¶
func ParseIntOrDefault ¶
func ParseIntOrNil ¶
func SqlStringOrEmpty ¶
func SqlStringOrEmpty(str sql.NullString) string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.