Documentation ¶
Index ¶
- Constants
- func ConvertBool(input sql.NullBool) (output *bool)
- func ConvertFloat(input sql.NullFloat64) float64
- func ConvertFloatToLongStringNumber(input float64) string
- func ConvertInt(input sql.NullInt64) int64
- func ConvertString(input sql.NullString) (output string)
- func ExtractIntFromString(input string, defaultVal int64) int64
- func FormatTimePointer(input *time.Time) interface{}
- func StringerToJson(input fmt.Stringer) []byte
Constants ¶
View Source
const MYSQL_TIME_FORMAT = "2006-01-02 15:04:05"
Variables ¶
This section is empty.
Functions ¶
func ConvertBool ¶
func ConvertFloat ¶
func ConvertFloat(input sql.NullFloat64) float64
func ConvertInt ¶
func ConvertString ¶
func ConvertString(input sql.NullString) (output string)
func ExtractIntFromString ¶
func FormatTimePointer ¶
func StringerToJson ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.