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
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`
Type Parameters:
T: any
RTrimSlice Right trims the given slice by given length
SplitNestedRelationName Split nested relationships to `[]string{"Manager","Company"}`
func ToStringKey(values ...interface{}) string![]() |
The pages are generated with Golds v0.8.2. (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 @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |