Skip to content

Commit

Permalink
docs: godoc
Browse files Browse the repository at this point in the history
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
  • Loading branch information
caarlos0 committed Aug 30, 2021
1 parent ac4c4be commit 33962e3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions env.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ var (
// ParserFunc defines the signature of a function that can be used within `CustomParsers`.
type ParserFunc func(v string) (interface{}, error)

// OnSetFn is a hook that can be run when a value is set.
type OnSetFn func(tag string, value interface{}, isDefault bool)

// Options for the parser.
Expand Down

0 comments on commit 33962e3

Please sign in to comment.