tools.go 1.1 KB

123456789101112131415161718192021222324252627282930
  1. // Copyright The OpenTelemetry Authors
  2. // SPDX-License-Identifier: Apache-2.0
  3. //go:build tools
  4. // +build tools
  5. package tools // import "github.com/open-telemetry/opentelemetry-collector-contrib/internal/tools"
  6. // This file follows the recommendation at
  7. // https://github.com/golang/go/wiki/Modules#how-can-i-track-tool-dependencies-for-a-module
  8. // on how to pin tooling dependencies to a go.mod file.
  9. // This ensures that all systems use the same version of tools in addition to regular dependencies.
  10. import (
  11. _ "github.com/Khan/genqlient"
  12. _ "github.com/client9/misspell/cmd/misspell"
  13. _ "github.com/daixiang0/gci"
  14. _ "github.com/golangci/golangci-lint/cmd/golangci-lint"
  15. _ "github.com/google/addlicense"
  16. _ "github.com/jcchavezs/porto/cmd/porto"
  17. _ "github.com/jstemmer/go-junit-report"
  18. _ "go.opentelemetry.io/build-tools/checkfile"
  19. _ "go.opentelemetry.io/build-tools/chloggen"
  20. _ "go.opentelemetry.io/build-tools/crosslink"
  21. _ "go.opentelemetry.io/build-tools/issuegenerator"
  22. _ "go.opentelemetry.io/build-tools/multimod"
  23. _ "go.opentelemetry.io/collector/cmd/builder"
  24. _ "golang.org/x/tools/cmd/goimports"
  25. _ "golang.org/x/vuln/cmd/govulncheck"
  26. )