lang: funcs: Module name should be public

For consistency with the rest of the core functions.
This commit is contained in:
James Shubin
2019-07-29 11:17:43 -04:00
parent e68e4e786d
commit 09ca6d11ad
4 changed files with 5 additions and 5 deletions

View File

@@ -28,7 +28,7 @@ import (
)
func init() {
funcs.ModuleRegister(moduleName, "readfile", func() interfaces.Func { return &ReadFileFunc{} }) // must register the func and name
funcs.ModuleRegister(ModuleName, "readfile", func() interfaces.Func { return &ReadFileFunc{} }) // must register the func and name
}
// ReadFileFunc is a function that reads the full contents from a file in our