summaryrefslogtreecommitdiffhomepage
path: root/tools/go_generics
diff options
context:
space:
mode:
authorNicolas Lacasse <nlacasse@google.com>2021-06-09 17:33:52 -0700
committergVisor bot <gvisor-bot@google.com>2021-06-09 17:36:51 -0700
commit3fb646ed10b8ca425450132dd52b4671d60dcd7a (patch)
tree4a6aad9ba6ed7e36d645e4639e471b32a721daac /tools/go_generics
parent1ca981f50f0b2ad273bbcb870bca21c4b1264504 (diff)
Rename go files that contain "main" function to main.go.
This is a good Go convention that we should follow. PiperOrigin-RevId: 378538679
Diffstat (limited to 'tools/go_generics')
-rw-r--r--tools/go_generics/BUILD2
-rw-r--r--tools/go_generics/main.go (renamed from tools/go_generics/generics.go)0
2 files changed, 1 insertions, 1 deletions
diff --git a/tools/go_generics/BUILD b/tools/go_generics/BUILD
index 807c08ead..78b636130 100644
--- a/tools/go_generics/BUILD
+++ b/tools/go_generics/BUILD
@@ -5,8 +5,8 @@ package(licenses = ["notice"])
go_binary(
name = "go_generics",
srcs = [
- "generics.go",
"imports.go",
+ "main.go",
"remove.go",
],
visibility = ["//:sandbox"],
diff --git a/tools/go_generics/generics.go b/tools/go_generics/main.go
index 30584006c..30584006c 100644
--- a/tools/go_generics/generics.go
+++ b/tools/go_generics/main.go