Skip to content

Commit

Permalink
Merge pull request #1 from deeper-x/package_name_normalization
Browse files Browse the repository at this point in the history
name normalization in order to use is as goenv.
  • Loading branch information
deeper-x authored May 21, 2024
2 parents aee0d7e + c391062 commit 2c1dc4c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ package main

import (
"fmt"
gde "github.com/deeper-x/goenv"
"github.com/deeper-x/goenv"
)


func main() {
cfo, err := gde.New(".env")
cfo, err := goenv.New(".env")
if err != nil {
panic(err)
}
Expand Down Expand Up @@ -57,7 +57,7 @@ go test -v ./...

Build file object:
```golang
efo, err := gde.New() // <-- access default .env file in current dir, or New("./assets/.env") for custom file path
efo, err := goenv.New() // <-- access default .env file in current dir, or New("./assets/.env") for custom file path
if err != nil {
panic(err)
}
Expand Down
2 changes: 1 addition & 1 deletion goenv.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package gde
package goenv

import (
"bufio"
Expand Down
2 changes: 1 addition & 1 deletion goenv_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package gde
package goenv

import (
"testing"
Expand Down

0 comments on commit 2c1dc4c

Please sign in to comment.