summaryrefslogtreecommitdiff
path: root/context.go
diff options
context:
space:
mode:
authorSuccess Go <gaodacheng@protonmail.ch>2020-02-28 10:30:48 +0800
committerGitHub <noreply@github.com>2020-02-27 19:30:48 -0700
commitca5c6798806546180994ab7c08e60a5ffeb69394 (patch)
tree8ba21a48ed0566f0a0c9bfa4324067b2cab5cda3 /context.go
parente2d41ee7619bf88d9cd01ac92911fda8625bd02d (diff)
Fix typos (#3087)
* Fix typo * Fix typo, thanks for Spell Checker under VS Code
Diffstat (limited to 'context.go')
-rw-r--r--context.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/context.go b/context.go
index d64880c..68d31da 100644
--- a/context.go
+++ b/context.go
@@ -211,7 +211,7 @@ func (ctx Context) LoadModule(structPointer interface{}, fieldName string) (inte
}
// loadModulesFromSomeMap loads modules from val, which must be a type of map[string]interface{}.
-// Depending on inlineModuleKey, it will be interpeted as either a ModuleMap (key is the module
+// Depending on inlineModuleKey, it will be interpreted as either a ModuleMap (key is the module
// name) or as a regular map (key is not the module name, and module name is defined inline).
func (ctx Context) loadModulesFromSomeMap(namespace, inlineModuleKey string, val reflect.Value) (map[string]interface{}, error) {
// if no inline_key is specified, then val must be a ModuleMap,