MCPcopy
hub / github.com/go-gorm/gorm / Replacer

Interface Replacer

schema/naming.go:28–30  ·  schema/naming.go::Replacer

Replacer replacer interface like strings.Replacer

Source from the content-addressed store, hash-verified

26
27// Replacer replacer interface like strings.Replacer
28type Replacer interface {
29 Replace(name string) string
30}
31
32var _ Namer = (*NamingStrategy)(nil)
33

Callers 8

AddVarMethod · 0.65
ReplaceMethod · 0.65
BuildMethod · 0.65
buildConditionMethod · 0.65
BuildQuerySQLFunction · 0.65
TestBelongsToAssociationFunction · 0.65
TestHasOneAssociationFunction · 0.65

Implementers 4

processorcallbacks.go
callbackcallbacks.go
Associationassociation.go
CustomReplacerschema/naming_test.go

Calls

no outgoing calls

Tested by

no test coverage detected