github.com/crossplane/upjet@v1.3.0/pkg/generate.go (about)

     1  // SPDX-FileCopyrightText: 2023 The Crossplane Authors <https://crossplane.io>
     2  //
     3  // SPDX-License-Identifier: Apache-2.0
     4  
     5  //go:build generate
     6  // +build generate
     7  
     8  package pkg
     9  
    10  // NOTE(muvaf): We import the tools used un go:generate targets so that we can
    11  // track their versions using go.mod and let Go handle its installation. See
    12  // the following link for details: https://github.com/golang/go/wiki/Modules#how-can-i-track-tool-dependencies-for-a-module
    13  
    14  import (
    15  	_ "github.com/golang/mock/mockgen" //nolint:typecheck
    16  )