Skip to content

Generated files show git modifications for LICENSE info removed #1448

@liruohrh

Description

@liruohrh

Is your enhancement request related to a problem? Please describe

Problem: Manual LICENSE additions to auto-generated files cause persistent git status changes (false positives) after generate.

Affected files: docs/docs.go, internal/service/mock/siteinfo_repo_mock.go, docs/swagger.yaml, cmd/wire_gen.go

Describe the solution you'd like

Add files to .gitignore (exclude from version control)

Describe alternatives you've considered

Remove LICENSE logic from generators
or
Add cmd/cleangen to auto-clean generated file modifications

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions