Skip to content

Commit

Permalink
feat: changed the package name from go-dotenv to dotenv
Browse files Browse the repository at this point in the history
  • Loading branch information
tonievictor committed Jan 1, 2025
1 parent 82f3e24 commit 3ef7be9
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 14 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# Go Dotenv
# Dotenv
A lightweight Go package designed to simplify the configuration of your Go applications by loading environment variables from a `.env` file (or any file of your choice)

**Note:** The default `env` file is a ".env" file at the root of the project and the default `logger` writes to `os.Stdout`

## Installation
```bash
go get -u github.com/tonie-ng/go-dotenv
go get -u github.com/tonievictor/dotenv
```

## Usage
Expand All @@ -19,7 +19,7 @@ import (
"fmt"
"os"

"github.com/tonie-ng/go-dotenv"
"github.com/tonievictor/dotenv"
)

func main() {
Expand All @@ -40,7 +40,7 @@ package main
import (
"fmt"

"github.com/tonie-ng/go-dotenv"
"github.com/tonievictor/dotenv"
)

func main() {
Expand Down Expand Up @@ -68,7 +68,7 @@ import (
"log"
"os"

"github.com/tonie-ng/go-dotenv"
"github.com/tonievictor/dotenv"
)

func main() {
Expand Down Expand Up @@ -101,7 +101,7 @@ import (
"log"
"os"

"github.com/tonie-ng/go-dotenv"
"github.com/tonievictor/dotenv"
)

func main() {
Expand All @@ -120,7 +120,7 @@ func main() {
```

## Contibutions
Contributions to this project are welcome, please refer to the [contribution](https://github.com/tonie-ng/go-dotenv/blob/main/CONTRIBUTING.md) guide.
Contributions to this project are welcome, please refer to the [contribution](https://github.com/tonievictor/dotenv/blob/main/CONTRIBUTING.md) guide.

## Contributors
[Tonie Victor](https://tonie.me) - Author
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module github.com/tonie-ng/go-dotenv
module github.com/tonievictor/dotenv

go 1.21.5
go 1.23.0
2 changes: 1 addition & 1 deletion tests/comments_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package dotenvtest
import (
"testing"

"github.com/tonie-ng/go-dotenv"
"github.com/tonievictor/dotenv"
)

func TestComments(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion tests/file_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"strings"
"testing"

"github.com/tonie-ng/go-dotenv"
"github.com/tonievictor/dotenv"
)

func TestFile(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion tests/filename_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package dotenvtest
import (
"testing"

"github.com/tonie-ng/go-dotenv"
"github.com/tonievictor/dotenv"
)

func TestFileName(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion tests/key-value_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package dotenvtest
import (
"reflect"
"testing"
"github.com/tonie-ng/go-dotenv"
"github.com/tonievictor/dotenv"
)


Expand Down
2 changes: 1 addition & 1 deletion tests/logger_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package dotenvtest
import (
"testing"

"github.com/tonie-ng/go-dotenv"
"github.com/tonievictor/dotenv"
)

func TestLogger(t *testing.T) {
Expand Down

0 comments on commit 3ef7be9

Please sign in to comment.