github.com/Serizao/go-winio@v0.0.0-20230906082528-f02f7f4ad6e8/tools/tools.go (about)

     1  //go:build tools
     2  
     3  // This package contains imports to various tools used (eg, via `//go:generate`) within this repo.
     4  //
     5  // Calls to `go run <cmd/import/path>` (or `//go:generate go run <cmd/import/path>`) for go executables
     6  // included here will use the version specified in `go.mod` and build the executable from vendored code.
     7  //
     8  // Based on golang [guidance].
     9  //
    10  // [guidance]: https://github.com/golang/go/wiki/Modules#how-can-i-track-tool-dependencies-for-a-module
    11  package tools
    12  
    13  import _ "golang.org/x/tools/cmd/stringer"