Documentation ¶
Index ¶
- func Base64(params string) string
- func Base64Bytes(bytes []byte) string
- func Base64MD5(params string) string
- func ConditionString(condition bool, f1 interface{}, f2 interface{}) string
- func CopyFields(dest interface{}, src interface{}, fields ...string) (err error)
- func CopyFieldsExcept(dest interface{}, src interface{}, fields ...string) (err error)
- func CreateSqlResFormatFactory() *sqlResFormatTree
- func DefaultString(s string, defaultValue string) string
- func DeleteElement(src []string, elem string) []string
- func DeleteElements(src []string, elems []string) []string
- func MD5(params string) string
- func MapStruct(src map[string]interface{}, dest interface{})
- func NotNullString(s *string) string
- func RemoveRepByMap(slc []string) []string
- func SHA1(data string) string
- func StringAddr(s string) *string
- func StringValue(s *string) string
- func SubString(str string, begin, length int) string
- func TimeAddr(t time.Time) *time.Time
- func TimeValue(t *time.Time) time.Time
- func UUID() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConditionString ¶
func CopyFields ¶
按名字和类型复制(&a,b)b->a
func CopyFieldsExcept ¶
按名字和类型复制(&a,b)b->a
func CreateSqlResFormatFactory ¶
func CreateSqlResFormatFactory() *sqlResFormatTree
func DefaultString ¶
func DeleteElement ¶
func DeleteElements ¶
func NotNullString ¶
func RemoveRepByMap ¶
func StringAddr ¶
func StringValue ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.