Update altsrc/map_input_source.go

Co-authored-by: Robert Liebowitz <rliebz@gmail.com>
main
Igor Artasevych 4 years ago committed by GitHub
parent 27a8625ccd
commit 7f005015c8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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}
}

Loading…
Cancel
Save