Skip to content

copywrite headers break build tags in Golang #92

@dhiaayachi

Description

@dhiaayachi

Go build tags need to be at the top line of the file to be considered by go compiler.

Right now, running copyright headers in go file with build tags would break the tags as the header will be inserted before the build tags.

The expected result is for copywrite headers to either:

  • offer a way to exclude/include files based on build tags
  • detect build tags and insert the header after

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions