otiai10/opengraph

View on GitHub
ogp/main.go

Summary

Maintainability
A
40 mins
Test Coverage

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

func run(args []string, absolute bool) error {
    if len(args) == 0 {
        return fmt.Errorf("URL must be specified")
    }
    rawurl := args[0]
Severity: Major
Found in ogp/main.go - About 40 mins to fix

    There are no issues that match your filters.

    Category
    Status