Skip to content

Commit

Permalink
review: add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
BedrockSquirrel committed Nov 5, 2024
1 parent 4a3362b commit fd0a45e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions go/config/decoding.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import (
)

// bigIntHookFunc is a mapstructure HookFunc to handle both ints and strings for big.Int
// viper doesn't handle big ints nicely out of the box (in yaml they might be provided as numbers or strings in various formats
func bigIntHookFunc() mapstructure.DecodeHookFuncType {
return func(
f reflect.Type,
Expand Down

0 comments on commit fd0a45e

Please sign in to comment.