package utils
Import Path
gorm.io/gorm/utils (on go.dev)
Dependency Relation
imports 8 packages, and imported by 5 packages
Involved Source Files
utils.go
Package-Level Functions (total 10)
func AssertEqual(x, y interface{}) bool
CheckTruth check string true or not
FileWithLineNum return the file name and line number of the current file
func IsValidDBNameChar(c rune) bool
JoinNestedRelationNames nested relationships like `Manager__Company`
NestedRelationName nested relationships like `Manager__Company`
SplitNestedRelationName Split nested relationships to `[]string{"Manager","Company"}`
func ToStringKey(values ...interface{}) string
![]() |
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |