Kerrigan29a/recipe

View on GitHub
task_posix.go

Summary

Maintainability
A
35 mins
Test Coverage

Method Task.Terminate has 5 return statements (exceeds 4 allowed).
Open

func (t *Task) Terminate() error {
    cmd := t.cmd
    if cmd == nil {
        return nil
    }
Severity: Major
Found in task_posix.go - About 35 mins to fix

    exported method Task.Terminate should have comment or be unexported
    Open

    func (t *Task) Terminate() error {
    Severity: Minor
    Found in task_posix.go by golint

    Your code does not pass gofmt in 1 place. Go fmt your code!
    Open

    // +build !windows
    Severity: Minor
    Found in task_posix.go by gofmt

    There are no issues that match your filters.

    Category
    Status