Documentation ¶ Index ¶ func Init() *gorp.DbMap type MysqlConfig Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Init ¶ func Init() *gorp.DbMap Init 初期化します Types ¶ type MysqlConfig ¶ type MysqlConfig struct { Host string `envconfig:"DB_HOST"` Port int `envconfig:"DB_PORT"` User string `envconfig:"DB_USER"` Password string `envconfig:"DB_PASSWORD"` Name string `envconfig:"DB_NAME"` } MysqlConfig DB設定 Source Files ¶ View all Source files mysql.go Click to show internal directories. Click to hide internal directories.