nikoksr/proji

View on GitHub
pkg/template_engine/template_engine.go

Summary

Maintainability
A
45 mins
Test Coverage

Method TemplateEngine.parseTemplateFile has 7 return statements (exceeds 4 allowed).
Open

func (e *TemplateEngine) parseTemplateFile(path, destination string) error {
    // Load the template file
    b, err := ioutil.ReadFile(path)
    if err != nil {
        return err
Severity: Major
Found in pkg/template_engine/template_engine.go - About 45 mins to fix

    There are no issues that match your filters.

    Category
    Status