diff options
Diffstat (limited to 'internal/lsp/command/generate.go')
-rw-r--r-- | internal/lsp/command/generate.go | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/internal/lsp/command/generate.go b/internal/lsp/command/generate.go deleted file mode 100644 index 14628c733..000000000 --- a/internal/lsp/command/generate.go +++ /dev/null @@ -1,25 +0,0 @@ -// Copyright 2021 The Go Authors. All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. - -//go:build ignore -// +build ignore - -package main - -import ( - "fmt" - "io/ioutil" - "os" - - "golang.org/x/tools/internal/lsp/command/gen" -) - -func main() { - content, err := gen.Generate() - if err != nil { - fmt.Fprintf(os.Stderr, "%v\n", err) - os.Exit(1) - } - ioutil.WriteFile("command_gen.go", content, 0644) -} |