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

2
go.sum
View File

@@ -1,3 +1,5 @@
github.com/joho/godotenv v1.5.1 h1:7eLL/+HRGLY0ldzfGMeQkb7vMd0as4CfYvUVzLqw0N0=
github.com/joho/godotenv v1.5.1/go.mod h1:f4LDr5Voq0i2e/R5DDNOoa2zzDfwtkZa6DnEwAbqwq4=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=