Documentation ¶
Index ¶
- func AssertEqual(x, y interface{}) bool
- func CheckTruth(vals ...string) bool
- func Contains(elems []string, elem string) bool
- func FileWithLineNum() string
- func IsValidDBNameChar(c rune) bool
- func JoinNestedRelationNames(relationNames []string) string
- func NestedRelationName(prefix, name string) string
- func SplitNestedRelationName(name string) []string
- func ToString(value interface{}) string
- func ToStringKey(values ...interface{}) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssertEqual ¶
func AssertEqual(x, y interface{}) bool
func FileWithLineNum ¶
func FileWithLineNum() string
FileWithLineNum return the file name and line number of the current file
func IsValidDBNameChar ¶
func JoinNestedRelationNames ¶
JoinNestedRelationNames nested relationships like `Manager__Company`
func NestedRelationName ¶
NestedRelationName nested relationships like `Manager__Company`
func SplitNestedRelationName ¶
SplitNestedRelationName Split nested relationships to `[]string{"Manager","Company"}`
func ToStringKey ¶
func ToStringKey(values ...interface{}) string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.