data to db

This commit is contained in:
2025-03-20 21:06:14 +08:00
parent 15d9896c1d
commit f8e471525e
8 changed files with 235 additions and 51 deletions

View File

@@ -28,7 +28,7 @@ func main() {
if env == "development" {
defaultConfigFile = "app/user/cmd/api/etc/main.dev.yaml"
} else {
defaultConfigFile = "app/user/cmd/api/etc/main.yaml"
defaultConfigFile = "etc/main.yaml"
}
configFile := flag.String("f", defaultConfigFile, "the config file")
flag.Parse()