Skip to content

Commit

Permalink
fix: updated project id
Browse files Browse the repository at this point in the history
  • Loading branch information
luisnquin committed May 19, 2024
1 parent 6438a9d commit 034bdae
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 24 deletions.
30 changes: 15 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# env

[![Build Status](https://img.shields.io/github/actions/workflow/status/caarlos0/env/build.yml?branch=main&style=for-the-badge)](https://github.com/caarlos0/env/actions?workflow=build)
[![Build Status](https://img.shields.io/github/actions/workflow/status/caarlos0/env/build.yml?branch=main&style=for-the-badge)](https://github.com/NeticShard/env/actions?workflow=build)
[![Coverage Status](https://img.shields.io/codecov/c/gh/caarlos0/env.svg?logo=codecov&style=for-the-badge)](https://codecov.io/gh/caarlos0/env)
[![](http://img.shields.io/badge/godoc-reference-5272B4.svg?style=for-the-badge)](https://pkg.go.dev/github.com/caarlos0/env/v11)
[![](http://img.shields.io/badge/godoc-reference-5272B4.svg?style=for-the-badge)](https://pkg.go.dev/github.com/NeticShard/env/v11)

A simple and zero-dependencies library to parse environment variables into `struct`s.

Expand All @@ -27,7 +27,7 @@ updated to take that into account.
Get the module with:

```sh
go get github.com/caarlos0/env/v11
go get github.com/NeticShard/env/v11
```

The usage looks like this:
Expand All @@ -39,7 +39,7 @@ import (
"fmt"
"time"

"github.com/caarlos0/env/v11"
"github.com/NeticShard/env/v11"
)

type config struct {
Expand Down Expand Up @@ -139,7 +139,7 @@ field.
If you add a custom parser for, say `Foo`, it will also be used to parse
`*Foo` and `[]Foo` types.

Check the examples in the [go doc](http://pkg.go.dev/github.com/caarlos0/env/v11)
Check the examples in the [go doc](http://pkg.go.dev/github.com/NeticShard/env/v11)
for more info.

### A note about `TextUnmarshaler` and `time.Time`
Expand Down Expand Up @@ -205,7 +205,7 @@ This also works with `envDefault`:
```go
import (
"fmt"
"github.com/caarlos0/env/v11"
"github.com/NeticShard/env/v11"
)

type config struct {
Expand Down Expand Up @@ -271,7 +271,7 @@ import (
"fmt"
"time"

"github.com/caarlos0/env/v11"
"github.com/NeticShard/env/v11"
)

type config struct {
Expand Down Expand Up @@ -320,7 +320,7 @@ import (
"fmt"
"log"

"github.com/caarlos0/env/v11"
"github.com/NeticShard/env/v11"
)

type Config struct {
Expand Down Expand Up @@ -360,7 +360,7 @@ import (
"fmt"
"log"

"github.com/caarlos0/env/v11"
"github.com/NeticShard/env/v11"
)

type Config struct {
Expand Down Expand Up @@ -397,7 +397,7 @@ import (
"fmt"
"log"

"github.com/caarlos0/env/v11"
"github.com/NeticShard/env/v11"
)

type Config struct {
Expand Down Expand Up @@ -431,7 +431,7 @@ import (
"fmt"
"log"

"github.com/caarlos0/env/v11"
"github.com/NeticShard/env/v11"
)

type Config struct {
Expand Down Expand Up @@ -480,7 +480,7 @@ import (
"fmt"
"log"

"github.com/caarlos0/env/v11"
"github.com/NeticShard/env/v11"
)

type Config struct {
Expand Down Expand Up @@ -520,7 +520,7 @@ import (
"fmt"
"log"

"github.com/caarlos0/env/v11"
"github.com/NeticShard/env/v11"
)

type Config struct {
Expand Down Expand Up @@ -556,7 +556,7 @@ import (
"fmt"
"log"

"github.com/caarlos0/env/v11"
"github.com/NeticShard/env/v11"
)

type Config struct {
Expand Down Expand Up @@ -589,7 +589,7 @@ import (
"fmt"
"log"

"github.com/caarlos0/env/v11"
"github.com/NeticShard/env/v11"
)

type Config struct {
Expand Down
16 changes: 8 additions & 8 deletions error.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@ func (e NotStructPtrError) Error() string {
}

// This error occurs when there is no parser provided for given type
// Supported types and defaults: https://github.com/caarlos0/env#supported-types-and-defaults
// How to create a custom parser: https://github.com/caarlos0/env#custom-parser-funcs
// Supported types and defaults: https://github.com/NeticShard/env#supported-types-and-defaults
// How to create a custom parser: https://github.com/NeticShard/env#custom-parser-funcs
type NoParserError struct {
Name string
Type reflect.Type
Expand All @@ -97,7 +97,7 @@ func (e NoParserError) Error() string {

// This error occurs when the given tag is not supported
// In-built supported tags: "", "file", "required", "unset", "notEmpty", "expand", "envDefault", "envSeparator"
// How to create a custom tag: https://github.com/caarlos0/env#changing-default-tag-name
// How to create a custom tag: https://github.com/NeticShard/env#changing-default-tag-name
type NoSupportedTagOptionError struct {
Tag string
}
Expand All @@ -111,7 +111,7 @@ func (e NoSupportedTagOptionError) Error() string {
}

// This error occurs when the required variable is not set
// Read about required fields: https://github.com/caarlos0/env#required-fields
// Read about required fields: https://github.com/NeticShard/env#required-fields
type EnvVarIsNotSetError struct {
Key string
}
Expand All @@ -125,7 +125,7 @@ func (e EnvVarIsNotSetError) Error() string {
}

// This error occurs when the variable which must be not empty is existing but has an empty value
// Read about not empty fields: https://github.com/caarlos0/env#not-empty-fields
// Read about not empty fields: https://github.com/NeticShard/env#not-empty-fields
type EmptyEnvVarError struct {
Key string
}
Expand All @@ -139,7 +139,7 @@ func (e EmptyEnvVarError) Error() string {
}

// This error occurs when it's impossible to load the value from the file
// Read about From file feature: https://github.com/caarlos0/env#from-file
// Read about From file feature: https://github.com/NeticShard/env#from-file
type LoadFileContentError struct {
Filename string
Key string
Expand All @@ -155,8 +155,8 @@ func (e LoadFileContentError) Error() string {
}

// This error occurs when it's impossible to convert value using given parser
// Supported types and defaults: https://github.com/caarlos0/env#supported-types-and-defaults
// How to create a custom parser: https://github.com/caarlos0/env#custom-parser-funcs
// Supported types and defaults: https://github.com/NeticShard/env#supported-types-and-defaults
// How to create a custom parser: https://github.com/NeticShard/env#custom-parser-funcs
type ParseValueError struct {
Msg string
Err error
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module github.com/caarlos0/env/v11
module github.com/NeticShard/env

go 1.18

0 comments on commit 034bdae

Please sign in to comment.