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

Struct CustomReplacer

schema/naming_test.go:96–98  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

94}
95
96type CustomReplacer struct {
97 f func(string) string
98}
99
100func (r CustomReplacer) Replace(name string) string {
101 return r.f(name)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected