pedroMMM/goss

View on GitHub
validate.go

Summary

Maintainability
A
55 mins
Test Coverage

Function getGossConfig has 9 return statements (exceeds 4 allowed).
Open

func getGossConfig(vars string, varsInline string, specFile string) (cfg *GossConfig, err error) {
    // handle stdin
    var fh *os.File
    var path, source string
    var gossConfig GossConfig
Severity: Major
Found in validate.go - About 55 mins to fix

    exported function Validate should have comment or be unexported
    Open

    func Validate(c *RuntimeConfig, startTime time.Time) (code int, err error) {
    Severity: Minor
    Found in validate.go by golint

    There are no issues that match your filters.

    Category
    Status