2
2
3
3
[ ![ 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 )
4
4
[ ![ 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/v8 )
5
+ [ ![ ] ( http://img.shields.io/badge/godoc-reference-5272B4.svg?style=for-the-badge )] ( https://pkg.go.dev/github.com/caarlos0/env/v9 )
6
6
7
7
A simple and zero-dependencies library to parse environment variables into
8
8
` struct ` s.
@@ -12,7 +12,7 @@ A simple and zero-dependencies library to parse environment variables into
12
12
Get the module with:
13
13
14
14
``` sh
15
- go get github.com/caarlos0/env/v8
15
+ go get github.com/caarlos0/env/v9
16
16
```
17
17
18
18
The usage looks like this:
@@ -24,7 +24,7 @@ import (
24
24
" fmt"
25
25
" time"
26
26
27
- " github.com/caarlos0/env/v8 "
27
+ " github.com/caarlos0/env/v9 "
28
28
)
29
29
30
30
type config struct {
@@ -115,7 +115,7 @@ field.
115
115
If you add a custom parser for, say ` Foo ` , it will also be used to parse
116
116
` *Foo ` and ` []Foo ` types.
117
117
118
- Check the examples in the [ go doc] ( http://pkg.go.dev/github.com/caarlos0/env/v8 )
118
+ Check the examples in the [ go doc] ( http://pkg.go.dev/github.com/caarlos0/env/v9 )
119
119
for more info.
120
120
121
121
### A note about ` TextUnmarshaler ` and ` time.Time `
@@ -218,7 +218,7 @@ package main
218
218
import (
219
219
" fmt"
220
220
" time"
221
- " github.com/caarlos0/env/v8 "
221
+ " github.com/caarlos0/env/v9 "
222
222
)
223
223
224
224
type config struct {
@@ -266,7 +266,7 @@ import (
266
266
" fmt"
267
267
" log"
268
268
269
- " github.com/caarlos0/env/v8 "
269
+ " github.com/caarlos0/env/v9 "
270
270
)
271
271
272
272
type Config struct {
@@ -306,7 +306,7 @@ import (
306
306
" fmt"
307
307
" log"
308
308
309
- " github.com/caarlos0/env/v8 "
309
+ " github.com/caarlos0/env/v9 "
310
310
)
311
311
312
312
type Config struct {
@@ -343,7 +343,7 @@ import (
343
343
" fmt"
344
344
" log"
345
345
346
- " github.com/caarlos0/env/v8 "
346
+ " github.com/caarlos0/env/v9 "
347
347
)
348
348
349
349
type Config struct {
@@ -377,7 +377,7 @@ import (
377
377
" fmt"
378
378
" log"
379
379
380
- " github.com/caarlos0/env/v8 "
380
+ " github.com/caarlos0/env/v9 "
381
381
)
382
382
383
383
type Config struct {
@@ -426,7 +426,7 @@ import (
426
426
" fmt"
427
427
" log"
428
428
429
- " github.com/caarlos0/env/v8 "
429
+ " github.com/caarlos0/env/v9 "
430
430
)
431
431
432
432
type Config struct {
@@ -466,7 +466,7 @@ import (
466
466
" fmt"
467
467
" log"
468
468
469
- " github.com/caarlos0/env/v8 "
469
+ " github.com/caarlos0/env/v9 "
470
470
)
471
471
472
472
type Config struct {
@@ -502,7 +502,7 @@ import (
502
502
" fmt"
503
503
" log"
504
504
505
- " github.com/caarlos0/env/v8 "
505
+ " github.com/caarlos0/env/v9 "
506
506
)
507
507
508
508
type Config struct {
@@ -535,7 +535,7 @@ import (
535
535
" fmt"
536
536
" log"
537
537
538
- " github.com/caarlos0/env/v8 "
538
+ " github.com/caarlos0/env/v9 "
539
539
)
540
540
541
541
type Config struct {
0 commit comments