Skip to content

Add "go-time-lint" linter #3473

Open
Open
@leonklingele

Description

@leonklingele

Your feature request related to a problem? Please describe.

As per its README:

timelint is a lint tool to avoid problems related to timezone when writing Go programs.

When calling functions that depend on a timezone, such as the Date() and Hour() functions, you must be aware of the timezone of the time.Time variable, or you may encounter a fatal bug. Since these bugs are generally hard to find in reviews and tests, they should be checked with lint tools.

https://github.com/tomoemon/go-time-lint

Describe the solution you'd like.

Describe alternatives you've considered.

Additional context.

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or improvementlinter: newSupport new linterno decisionNo decision to fix or not

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions