You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
package conf
|
|
|
|
// Config app config
|
|
type Config struct {
|
|
Level string //
|
|
Port int // listent port
|
|
Database Database
|
|
}
|
|
|
|
type Database struct {
|
|
DSN string // data source name
|
|
ShowSQL bool
|
|
MaxIdle int
|
|
MaxOpen int
|
|
Prefix string // table prefix, default is nd_
|
|
}
|