fix a spelling error
This commit is contained in:
parent
d4dbfdbe91
commit
2d6b2e3811
@ -12,7 +12,7 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
// FromFile loads config from a specified file overriding defaults specified in
|
// FromFile loads config from a specified file overriding defaults specified in
|
||||||
// the def parameter. If file does not exist or is empty defaults are asummed.
|
// the def parameter. If file does not exist or is empty defaults are assumed.
|
||||||
func FromFile(path string, def interface{}) (interface{}, error) {
|
func FromFile(path string, def interface{}) (interface{}, error) {
|
||||||
file, err := os.Open(path)
|
file, err := os.Open(path)
|
||||||
switch {
|
switch {
|
||||||
|
Loading…
Reference in New Issue
Block a user