Skip to content

Commit

Permalink
Update altsrc/map_input_source.go
Browse files Browse the repository at this point in the history
Co-authored-by: Robert Liebowitz <rliebz@gmail.com>
  • Loading branch information
igorrius and rliebz committed Oct 22, 2020
1 parent 27a8625 commit 7f00501
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion altsrc/map_input_source.go
Expand Up @@ -16,7 +16,7 @@ type MapInputSource struct {
valueMap map[interface{}]interface{}
}

//NewMapInputSource create a new MapInputSource type
// NewMapInputSource creates a new MapInputSource for implementing custom input sources.
func NewMapInputSource(file string, valueMap map[interface{}]interface{}) *MapInputSource {
return &MapInputSource{file: file, valueMap: valueMap}
}
Expand Down

0 comments on commit 7f00501

Please sign in to comment.