package utils

Import Path
	gorm.io/gorm/utils (on go.dev)

Dependency Relation
	imports 8 packages, and imported by 6 packages

Involved Source Files utils.go
Package-Level Functions (total 11)
func AssertEqual(x, y interface{}) bool
CheckTruth check string true or not
func Contains(elems []string, elem string) bool
FileWithLineNum return the file name and line number of the current file
JoinNestedRelationNames nested relationships like `Manager__Company`
NestedRelationName nested relationships like `Manager__Company`
Type Parameters: T: any RTrimSlice Right trims the given slice by given length
SplitNestedRelationName Split nested relationships to `[]string{"Manager","Company"}`
func ToString(value interface{}) string
func ToStringKey(values ...interface{}) string