Update API

This commit is contained in:
2025-06-22 23:23:26 +07:00
parent b077ef9f06
commit 40705fbf3b
63 changed files with 1976 additions and 81 deletions
+15
View File
@@ -0,0 +1,15 @@
package config
import "os"
type Config struct {
DBUrl string
JWTSecret string
}
func GetConfig() Config {
return Config{
DBUrl: os.Getenv("DB_URL"),
JWTSecret: os.Getenv("JWT_SECRET"),
}
}