22
33[ ![ 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 )
44[ ![ Coverage Status] ( https://img.shields.io/codecov/c/gh/caarlos0/env.svg?logo=codecov&style=for-the-badge )] ( https://codecov.io/gh/caarlos0/env )
5- [ ![ ] ( http://img.shields.io/badge/godoc-reference-5272B4.svg?style=for-the-badge )] ( https://pkg.go.dev/github.com/caarlos0/env/v10 )
5+ [ ![ ] ( http://img.shields.io/badge/godoc-reference-5272B4.svg?style=for-the-badge )] ( https://pkg.go.dev/github.com/caarlos0/env/v11 )
66
77A simple and zero-dependencies library to parse environment variables into
88` struct ` s.
@@ -24,7 +24,7 @@ A simple and zero-dependencies library to parse environment variables into
2424Get the module with:
2525
2626``` sh
27- go get github.com/caarlos0/env/v10
27+ go get github.com/caarlos0/env/v11
2828```
2929
3030The usage looks like this:
@@ -36,7 +36,7 @@ import (
3636 " fmt"
3737 " time"
3838
39- " github.com/caarlos0/env/v10 "
39+ " github.com/caarlos0/env/v11 "
4040)
4141
4242type config struct {
@@ -130,7 +130,7 @@ field.
130130If you add a custom parser for, say ` Foo ` , it will also be used to parse
131131` *Foo ` and ` []Foo ` types.
132132
133- Check the examples in the [ go doc] ( http://pkg.go.dev/github.com/caarlos0/env/v10 )
133+ Check the examples in the [ go doc] ( http://pkg.go.dev/github.com/caarlos0/env/v11 )
134134for more info.
135135
136136### A note about ` TextUnmarshaler ` and ` time.Time `
@@ -196,7 +196,7 @@ This also works with `envDefault`:
196196``` go
197197import (
198198 " fmt"
199- " github.com/caarlos0/env/v10 "
199+ " github.com/caarlos0/env/v11 "
200200)
201201
202202type config struct {
@@ -262,7 +262,7 @@ import (
262262 " fmt"
263263 " time"
264264
265- " github.com/caarlos0/env/v10 "
265+ " github.com/caarlos0/env/v11 "
266266)
267267
268268type config struct {
@@ -310,7 +310,7 @@ import (
310310 " fmt"
311311 " log"
312312
313- " github.com/caarlos0/env/v10 "
313+ " github.com/caarlos0/env/v11 "
314314)
315315
316316type Config struct {
@@ -350,7 +350,7 @@ import (
350350 " fmt"
351351 " log"
352352
353- " github.com/caarlos0/env/v10 "
353+ " github.com/caarlos0/env/v11 "
354354)
355355
356356type Config struct {
@@ -387,7 +387,7 @@ import (
387387 " fmt"
388388 " log"
389389
390- " github.com/caarlos0/env/v10 "
390+ " github.com/caarlos0/env/v11 "
391391)
392392
393393type Config struct {
@@ -421,7 +421,7 @@ import (
421421 " fmt"
422422 " log"
423423
424- " github.com/caarlos0/env/v10 "
424+ " github.com/caarlos0/env/v11 "
425425)
426426
427427type Config struct {
@@ -470,7 +470,7 @@ import (
470470 " fmt"
471471 " log"
472472
473- " github.com/caarlos0/env/v10 "
473+ " github.com/caarlos0/env/v11 "
474474)
475475
476476type Config struct {
@@ -510,7 +510,7 @@ import (
510510 " fmt"
511511 " log"
512512
513- " github.com/caarlos0/env/v10 "
513+ " github.com/caarlos0/env/v11 "
514514)
515515
516516type Config struct {
@@ -546,7 +546,7 @@ import (
546546 " fmt"
547547 " log"
548548
549- " github.com/caarlos0/env/v10 "
549+ " github.com/caarlos0/env/v11 "
550550)
551551
552552type Config struct {
@@ -579,7 +579,7 @@ import (
579579 " fmt"
580580 " log"
581581
582- " github.com/caarlos0/env/v10 "
582+ " github.com/caarlos0/env/v11 "
583583)
584584
585585type Config struct {
0 commit comments