8000 staticcheck: log.Fatal("x:", err) -> log.Fatalln · Issue #686 · dominikh/go-tools · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
staticcheck: log.Fatal("x:", err) -> log.Fatalln #686
Open
@dominikh

Description

@dominikh

log.Fatal will not add spaces between its arguments, but the presence of a colon suggests that a space was desired. See if we run into any false positives.

Metadata

Metadata

Assignees

No one assigned

    Labels

    aggressiveA set of checks that is more prone to false positives but is helpful during code reviewneeds-decisionWe have to decide if this check is feasible and desirablenew-check

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0