lflux/eve-sdeloader

View on GitHub
utils/exec_ddl.go

Summary

Maintainability
A
35 mins
Test Coverage

Function ExecDDLFromFile has 5 return statements (exceeds 4 allowed).
Open

func ExecDDLFromFile(db *sql.DB, path string) error {
    f, err := os.Open(path)
    if err != nil {
        return err
    }
Severity: Major
Found in utils/exec_ddl.go - About 35 mins to fix

    There are no issues that match your filters.

    Category
    Status