-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Validate zero modules Adds two private functions in 'internal/module_config': - func (cfg ModuleConfig) collectMissing() []string - func findMissing(reflect.Value, string, string, []string) These are unexported functions that aid in introspecting a datastructure to see if it has all its expected data. These functions are implicitly invoked via: - func LoadModuleConfig(string) (ModuleConfig, error) If there are errors then the program aborts with appropriate output. * Set description and author in example zero module * Remove unused code * Remove unnecessary newline in error log
- Loading branch information
1 parent
151cdf5
commit c45c39e
Showing
4 changed files
with
108 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters