Skip to content

Commit

Permalink
feat!: prepare for release
Browse files Browse the repository at this point in the history
  • Loading branch information
caarlos0 committed Apr 16, 2024
1 parent 8aee119 commit 4723331
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 15 deletions.
28 changes: 14 additions & 14 deletions README.md
Expand Up @@ -2,7 +2,7 @@

[![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)
[![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/v10)
[![](http://img.shields.io/badge/godoc-reference-5272B4.svg?style=for-the-badge)](https://pkg.go.dev/github.com/caarlos0/env/v11)

A simple and zero-dependencies library to parse environment variables into
`struct`s.
Expand All @@ -24,7 +24,7 @@ A simple and zero-dependencies library to parse environment variables into
Get the module with:

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

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

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

type config struct {
Expand Down Expand Up @@ -130,7 +130,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/v10)
Check the examples in the [go doc](http://pkg.go.dev/github.com/caarlos0/env/v11)
for more info.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

type Config struct {
Expand Down
2 changes: 1 addition & 1 deletion go.mod
@@ -1,3 +1,3 @@
module github.com/caarlos0/env/v10
module github.com/caarlos0/env/v11

go 1.18

0 comments on commit 4723331

Please sign in to comment.