Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppConfig ¶
func NewAppConfig ¶
type RailsConfig ¶
type RailsConfig struct{}
type LowerConfig struct{}
func (LowerConfig) SQLTable(table string) string {
return strings.ToLower(table)
}
func (LowerConfig) SQLColumn(table, column string) string {
return strings.ToLower(column)
}
type PrefixConfig struct {
TablePrefix string
ColumnPrefix string
}
func (pc PrefixConfig) SQLTable(table string) string {
return pc.TablePrefix + table
}
func (pc PrefixConfig) SQLColumn(table, column string) string {
return pc.ColumnPrefix + column
}
func (RailsConfig) SQLColumn ¶
func (RailsConfig) SQLColumn(table, column string) string
func (RailsConfig) SQLTable ¶
func (RailsConfig) SQLTable(table string) string
Click to show internal directories.
Click to hide internal directories.