fix: load .env in local development

This commit is contained in:
zouyiyi
2026-05-06 21:09:12 +08:00
parent e6f5348278
commit e96bd1ed6d
3 changed files with 12 additions and 4 deletions

View File

@@ -3,9 +3,11 @@ module feedsystem_video_go
go 1.24.5
require (
github.com/alicebob/miniredis/v2 v2.37.0
github.com/gin-gonic/gin v1.11.0
github.com/go-sql-driver/mysql v1.8.1
github.com/golang-jwt/jwt/v5 v5.3.0
github.com/joho/godotenv v1.5.1
github.com/rabbitmq/amqp091-go v1.10.0
github.com/redis/go-redis/v9 v9.17.2
golang.org/x/crypto v0.40.0
@@ -14,10 +16,7 @@ require (
gorm.io/gorm v1.31.1
)
require (
github.com/alicebob/miniredis/v2 v2.37.0 // indirect
github.com/yuin/gopher-lua v1.1.1 // indirect
)
require github.com/yuin/gopher-lua v1.1.1 // indirect
require (
filippo.io/edwards25519 v1.1.0 // indirect