Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
  • Loading branch information
profclems committed Nov 8, 2020
1 parent 9cace54 commit 4f698c7
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions dotenv.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ type DotEnv struct {
prefix string
allowEmptyEnvVars bool

env map[string]string
env map[string]string
configOverrider map[string]interface{}
Config map[string]interface{}
Config map[string]interface{}
}

// global DotEnv instance
Expand All @@ -55,12 +55,12 @@ func Init(file ...string) *DotEnv {
}

dotenv := &DotEnv{
ConfigFile: configFile,
Separator: DefaultSeparator,
prefix: defaultPrefix,
env: make(map[string]string),
ConfigFile: configFile,
Separator: DefaultSeparator,
prefix: defaultPrefix,
env: make(map[string]string),
configOverrider: make(map[string]interface{}),
Config: make(map[string]interface{}),
Config: make(map[string]interface{}),
}

return dotenv
Expand Down Expand Up @@ -316,7 +316,7 @@ func (e *DotEnv) LookUp(key string) (interface{}, bool) {
// when getting the value
func Set(key, value string) { d.Set(key, value) }

func (e *DotEnv) Set(key string, value interface{}){
func (e *DotEnv) Set(key string, value interface{}) {
key = e.addPrefix(key)
key = strings.ToUpper(key)

Expand Down

0 comments on commit 4f698c7

Please sign in to comment.