util/config.go
exported function IsValueInList should have comment or be unexported Open
Open
func IsValueInList(value string, list []string) bool {
- Exclude checks
should omit 2nd value from range; this loop is equivalent to for k := range ...
Open
Open
for k, _ := range v {
- Exclude checks
exported const JSON should have comment (or a comment on this block) or be unexported Open
Open
JSON format = "json"
- Exclude checks
exported function ValidateSections should have comment or be unexported Open
Open
func ValidateSections(unmarshal func(interface{}) error, i interface{}, whitelist map[string]bool) error {
- Exclude checks
exported function WhitelistAttrs should have comment or be unexported Open
Open
func WhitelistAttrs(i interface{}, format format) (map[string]bool, error) {
- Exclude checks
exported type Config should have comment or be unexported Open
Open
type Config struct {
- Exclude checks
exported type OutputConfig should have comment or be unexported Open
Open
type OutputConfig struct {
- Exclude checks