Skip to content

go mod tidy will remove the reference to github.com/dmarkham/enumer from go.modΒ #77

Open
@madkins23

Description

This can be prevented by adding a tools.go file:

//go:build tools

package tools

import (
	// Protect this entry in go.mod from being removed by go mod tidy.
	_ "github.com/dmarkham/enumer"
)

Should probably go into README.md.

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions