Skip to content

Commit

Permalink
chore: comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
Koooooo-7 committed Apr 9, 2023
1 parent 56edc0f commit 27ca58d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion opts/global.go
Expand Up @@ -48,7 +48,7 @@ func (opt *Initialization) Validate() {
}
}

// set default values for the struct field.
// SetDefaultValue set default values for the struct field.
// inspired from: https://github.com/mcuadros/go-defaults
func SetDefaultValue(ptr interface{}) {
elem := reflect.ValueOf(ptr).Elem()
Expand Down

0 comments on commit 27ca58d

Please sign in to comment.