Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add "constructor" linter #3488

Open
Open
Labels
enhancementNew feature or improvementlinter: newSupport new linterno decisionNo decision to fix or not
@leonklingele

Description

@leonklingele

Your feature request related to a problem? Please describe.

Theconstructor linter reports whether name of a constructor like function does not begin "New":

typeT1struct{}funcNewT1() (t*T1) {return }// OKfuncCreateT1() (t*T1) {return }// want `name of a constructor like function must begin "New"`

https://github.com/gostaticanalysis/constructor

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


      [8]ページ先頭

      ©2009-2025 Movatter.jp