Skip to content

Commit

Permalink
install goimports as a tool
Browse files Browse the repository at this point in the history
  • Loading branch information
dprotaso committed Jun 5, 2020
1 parent 2bc774f commit 9616d5e
Show file tree
Hide file tree
Showing 34 changed files with 17,733 additions and 0 deletions.
1 change: 1 addition & 0 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ require (
github.com/spf13/pflag v1.0.5
github.com/spf13/viper v1.6.2
golang.org/x/crypto v0.0.0-20200302210943-78000ba7a073
golang.org/x/tools v0.0.0-20200329025819-fd4102a86c65
gotest.tools v2.2.0+incompatible
k8s.io/api v0.17.6
k8s.io/apimachinery v0.17.6
Expand Down
23 changes: 23 additions & 0 deletions hack/tools.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
// +build tools

/*
Copyright 2020 The Knative Authors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/

package tools

import (
// verify codegen
_ "golang.org/x/tools/cmd/goimports"
)
27 changes: 27 additions & 0 deletions vendor/golang.org/x/mod/LICENSE

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

22 changes: 22 additions & 0 deletions vendor/golang.org/x/mod/PATENTS

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 9616d5e

Please sign in to comment.