update: use jwt

This commit is contained in:
2026-01-04 15:51:25 +07:00
parent 69e250b439
commit 777da84692
7 changed files with 226 additions and 70 deletions

12
internal/config/config.go Normal file
View File

@@ -0,0 +1,12 @@
package config
import "os"
func Getenv(key, defaultValue string) string {
val := os.Getenv(key)
if val == "" {
val = defaultValue
}
return val
}