util

package
v0.0.0-...-05b7c2a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 16, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	I64     = "int64"
	I32     = "int32"
	Str     = "string"
	Bool    = "bool"
	Float32 = "float32"
	Float64 = "float64"
	Time    = "*time.Time"
)

Variables

This section is empty.

Functions

func DerefNilSqlType

func DerefNilSqlType(n, t string) string

func EnableLog

func EnableLog()

func GoT

func GoT(in string) string

func Log

func Log(s ...interface{})

func LowerFirstLetter

func LowerFirstLetter(in string) string

func NilSqlType

func NilSqlType(in string) string

func ParseDateStr

func ParseDateStr(s string) (*time.Time, error)

func SafeParseDateStr

func SafeParseDateStr(s string) *time.Time

func SafeParseDateTimeStr

func SafeParseDateTimeStr(s string) *time.Time

func SqlTypeName

func SqlTypeName(in string) string

func ToCamel

func ToCamel(in string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL