diff --git a/README.md b/README.md index 6909415..5b3b350 100644 --- a/README.md +++ b/README.md @@ -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. @@ -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: @@ -36,7 +36,7 @@ import ( "fmt" "time" - "github.com/caarlos0/env/v10" + "github.com/caarlos0/env/v11" ) type config struct { @@ -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` @@ -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 { @@ -262,7 +262,7 @@ import ( "fmt" "time" - "github.com/caarlos0/env/v10" + "github.com/caarlos0/env/v11" ) type config struct { @@ -310,7 +310,7 @@ import ( "fmt" "log" - "github.com/caarlos0/env/v10" + "github.com/caarlos0/env/v11" ) type Config struct { @@ -350,7 +350,7 @@ import ( "fmt" "log" - "github.com/caarlos0/env/v10" + "github.com/caarlos0/env/v11" ) type Config struct { @@ -387,7 +387,7 @@ import ( "fmt" "log" - "github.com/caarlos0/env/v10" + "github.com/caarlos0/env/v11" ) type Config struct { @@ -421,7 +421,7 @@ import ( "fmt" "log" - "github.com/caarlos0/env/v10" + "github.com/caarlos0/env/v11" ) type Config struct { @@ -470,7 +470,7 @@ import ( "fmt" "log" - "github.com/caarlos0/env/v10" + "github.com/caarlos0/env/v11" ) type Config struct { @@ -510,7 +510,7 @@ import ( "fmt" "log" - "github.com/caarlos0/env/v10" + "github.com/caarlos0/env/v11" ) type Config struct { @@ -546,7 +546,7 @@ import ( "fmt" "log" - "github.com/caarlos0/env/v10" + "github.com/caarlos0/env/v11" ) type Config struct { @@ -579,7 +579,7 @@ import ( "fmt" "log" - "github.com/caarlos0/env/v10" + "github.com/caarlos0/env/v11" ) type Config struct { diff --git a/go.mod b/go.mod index 5aea115..135b454 100644 --- a/go.mod +++ b/go.mod @@ -1,3 +1,3 @@ -module github.com/caarlos0/env/v10 +module github.com/caarlos0/env/v11 go 1.18