grokify/mogo

View on GitHub
os/osutil/copy.go

Summary

Maintainability
A
40 mins
Test Coverage

Function CopyFile has 6 return statements (exceeds 4 allowed).
Open

func CopyFile(src, dst string) error {
    r, err := os.Open(src)
    if err != nil {
        return err
    }
Severity: Major
Found in os/osutil/copy.go - About 40 mins to fix

    There are no issues that match your filters.

    Category
    Status