go20/day07/example/etc/application.toml

23 lines
334 B
TOML
Raw Permalink Normal View History

2026-03-15 12:05:10 +08:00
[app]
name = "mcube_app"
2026-03-15 10:51:16 +08:00
[datasource]
host = "127.0.0.1"
port = 3306
database = "go20"
username = "root"
password = "123456"
[http]
# HTTP服务Host
host = "127.0.0.1"
# HTTP服务端口
2026-03-15 12:05:10 +08:00
port = 8010
[log]
# 日志的级别, 默认Debug
level = "info"
[log.file]
# 是否开启文件记录
enable = true