NamingStrategy tables, columns naming strategy
| 33 | |
| 34 | // NamingStrategy tables, columns naming strategy |
| 35 | type NamingStrategy struct { |
| 36 | TablePrefix string |
| 37 | SingularTable bool |
| 38 | NameReplacer Replacer |
| 39 | NoLowerCase bool |
| 40 | IdentifierMaxLength int |
| 41 | } |
| 42 | |
| 43 | // TableName convert string to table name |
| 44 | func (ns NamingStrategy) TableName(str string) string { |
nothing calls this directly
no outgoing calls
no test coverage detected