lib

package module
v0.0.0-...-53e2c75 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2019 License: GPL-3.0 Imports: 3 Imported by: 2

Documentation

Index

Constants

View Source
const (
	TableFieldTag = "TbField"
)

const TableFieldTag

Variables

This section is empty.

Functions

func Iif

func Iif(l bool, a interface{}, b interface{}) interface{}

Iif logical condition

func Serialize

func Serialize(i interface{}) (serialString string, err error)

Serialize : transfer object to string, the object's members must be public

func Struce4Query

func Struce4Query(r reflect.Type) (s string)

Struce4Query : transfer struct to string for query

func Struce4QuerySlice

func Struce4QuerySlice(r reflect.Type) (s []string)

Struce4Query : transfer struct to string for query

func Struct4Scan

func Struct4Scan(s interface{}) (r []interface{})

Struct4Scan : transfer struct to slice for scan

Types

This section is empty.

Jump to

Keyboard shortcuts

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