Skip to content

go-enum generates unpopulated build info comments #263

@cooperbenson-qz

Description

@cooperbenson-qz

I'm starting to use go-enum in some projects and have noticed that it's generating the following comments at the top of the file

// Code generated by go-enum DO NOT EDIT.
// Version:
// Revision:
// Build Date:
// Built By:

My guess is that the build information is blank because I'm using the tool functionality added in 1.24 to install and run go-enum instead of the pre-built binaries. Could these build info comments either be removed automatically, disabled by a flag, or populated via another mechanism? Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions