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

Struct UserWithTableNamer

tests/table_test.go:154–157  ·  tests/table_test.go::UserWithTableNamer

Source from the content-addressed store, hash-verified

152}
153
154type UserWithTableNamer struct {
155 gorm.Model
156 Name string
157}
158
159func (UserWithTableNamer) TableName(namer schema.Namer) string {
160 return namer.TableName("user")

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected