mirror of
https://github.com/sstent/go-garth.git
synced 2026-01-26 17:11:42 +00:00
fixed timecode issue
This commit is contained in:
@@ -11,7 +11,7 @@ import (
|
||||
// LoadEnvCredentials loads credentials from .env file
|
||||
func LoadEnvCredentials() (email, password, domain string, err error) {
|
||||
// Determine project root (assuming .env is in the project root)
|
||||
projectRoot := "/home/sstent/Projects/github.com/sstent/go-garth"
|
||||
projectRoot := "/home/sstent/Projects/go-garth"
|
||||
envPath := filepath.Join(projectRoot, ".env")
|
||||
|
||||
// Load .env file
|
||||
@@ -34,4 +34,4 @@ func LoadEnvCredentials() (email, password, domain string, err error) {
|
||||
}
|
||||
|
||||
return email, password, domain, nil
|
||||
}
|
||||
}
|
||||
|
||||
4
internal/auth/credentials/doc.go
Normal file
4
internal/auth/credentials/doc.go
Normal file
@@ -0,0 +1,4 @@
|
||||
// Package credentials provides helpers for loading user credentials and
|
||||
// environment configuration used during authentication and local development.
|
||||
// Note: This is an internal package and not intended for direct external use.
|
||||
package credentials
|
||||
Reference in New Issue
Block a user