diff --git a/.gitignore b/.gitignore index b0e4115..0eb652b 100644 --- a/.gitignore +++ b/.gitignore @@ -16,7 +16,6 @@ manifest/output/ temp/ temp.yaml bin -**/config/config.yaml *.exe *.exe~ diff --git a/manifest/config/config.yaml b/manifest/config/config.yaml new file mode 100644 index 0000000..4cf71b3 --- /dev/null +++ b/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" \ No newline at end of file