sascha-andres/go-template

View on GitHub
new_setup_directories.go

Summary

Maintainability
A
40 mins
Test Coverage

Method Engine.setupDirectories has 6 return statements (exceeds 4 allowed).
Open

func (e *Engine) setupDirectories(name, templateName string) (string, string, string, func()) {
    if e.err != nil {
        return "", "", "", nil
    }
    logger := e.logger.WithField("method", "setupDirectories")
Severity: Major
Found in new_setup_directories.go - About 40 mins to fix

    There are no issues that match your filters.

    Category
    Status