Browse Source

修改config

dev
majun 7 months ago
parent
commit
82d527cc6b
  1. 1
      .gitignore
  2. 15
      manifest/config/config.yaml

1
.gitignore

@ -16,7 +16,6 @@ manifest/output/
temp/ temp/
temp.yaml temp.yaml
bin bin
**/config/config.yaml
*.exe *.exe
*.exe~ *.exe~

15
manifest/config/config.yaml

@ -0,0 +1,15 @@
# https://goframe.org/docs/web/server-config-file-template
server:
address: ":8080"
openapiPath: "/api.json"
swaggerPath: "/swagger"
# https://goframe.org/docs/core/glog-config
logger:
level : "all"
stdout: true
# https://goframe.org/docs/core/gdb-config-file
database:
default:
link: "mysql:root:123456@tcp(127.0.0.1:3306)/demo?charset=utf8mb4&parseTime=True&loc=Local"
Loading…
Cancel
Save