16 lines
199 B
Go
16 lines
199 B
Go
package examples
|
|
|
|
import (
|
|
"github.com/yedf/dtm/common"
|
|
)
|
|
|
|
type exampleConfig struct {
|
|
DB map[string]string `yaml:"DB"`
|
|
}
|
|
|
|
var config = exampleConfig{}
|
|
|
|
func init() {
|
|
common.InitConfig(&config)
|
|
}
|