Update altsrc/map_input_source.go
Co-authored-by: Robert Liebowitz <rliebz@gmail.com>
This commit is contained in:
parent
27a8625ccd
commit
7f005015c8
@ -16,7 +16,7 @@ type MapInputSource struct {
|
|||||||
valueMap map[interface{}]interface{}
|
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 {
|
func NewMapInputSource(file string, valueMap map[interface{}]interface{}) *MapInputSource {
|
||||||
return &MapInputSource{file: file, valueMap: valueMap}
|
return &MapInputSource{file: file, valueMap: valueMap}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user