зеркало из https://github.com/golang/tools.git
internal/lsp/command: rename package generate to gen
Change-Id: If9c39b7c1e26fb0064135d5cc2a65af913f7e573 Reviewed-on: https://go-review.googlesource.com/c/tools/+/293269 Trust: Rebecca Stambler <rstambler@golang.org> Run-TryBot: Rebecca Stambler <rstambler@golang.org> gopls-CI: kokoro <noreply+kokoro@google.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Robert Findley <rfindley@google.com>
This commit is contained in:
Родитель
4534fc34de
Коммит
d5b83329be
|
@ -2,9 +2,9 @@
|
|||
// Use of this source code is governed by a BSD-style
|
||||
// license that can be found in the LICENSE file.
|
||||
|
||||
// Package generate is used to generate command bindings from the gopls command
|
||||
// Package gen is used to generate command bindings from the gopls command
|
||||
// interface.
|
||||
package generate
|
||||
package gen
|
||||
|
||||
import (
|
||||
"bytes"
|
|
@ -9,7 +9,7 @@ import (
|
|||
"io/ioutil"
|
||||
"testing"
|
||||
|
||||
"golang.org/x/tools/internal/lsp/command/generate"
|
||||
"golang.org/x/tools/internal/lsp/command/gen"
|
||||
"golang.org/x/tools/internal/testenv"
|
||||
)
|
||||
|
||||
|
@ -21,7 +21,7 @@ func TestGenerated(t *testing.T) {
|
|||
t.Fatal(err)
|
||||
}
|
||||
|
||||
generated, err := generate.Generate()
|
||||
generated, err := gen.Generate()
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче