fix: environment variable loading with godotenv (v0.0.3)

- Add godotenv dependency for .env file loading
- Update main.go to load environment variables
- Update memory.md with troubleshooting notes
- Test basic CLI functionality

Version: 0.0.3
This commit is contained in:
2026-03-28 23:30:57 +08:00
parent ad667fa782
commit cd305a62ef
5 changed files with 73 additions and 2 deletions

5
go.mod
View File

@@ -2,4 +2,7 @@ module github.com/titor/fanyi
go 1.26.1
require gopkg.in/yaml.v3 v3.0.1 // indirect
require (
github.com/joho/godotenv v1.5.1 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)