Skip to content

Commit 340f21a

Browse files
xieyuschengopherbot
authored andcommitted
gopls: move gopls/doc/generate package
This CL tracks adonovan's TODO by moving generate package from gopls/doc/generate to gopls/internal/doc/generate. Change-Id: I08fc90859cc6afe10ab5ac658a7b8a514d36cc32 Reviewed-on: https://go-review.googlesource.com/c/tools/+/654536 Reviewed-by: Alan Donovan <adonovan@google.com> Reviewed-by: Junyang Shao <shaojunyang@google.com> Auto-Submit: Alan Donovan <adonovan@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
1 parent 0721940 commit 340f21a

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

gopls/internal/doc/api.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// Use of this source code is governed by a BSD-style
33
// license that can be found in the LICENSE file.
44

5-
//go:generate go run ../../doc/generate
5+
//go:generate go run ./generate
66

77
// The doc package provides JSON metadata that documents gopls' public
88
// interfaces.

gopls/doc/generate/generate.go renamed to gopls/internal/doc/generate/generate.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,7 @@
1111
//
1212
// Run it with this command:
1313
//
14-
// $ cd gopls/internal/doc && go generate
15-
//
16-
// TODO(adonovan): move this package to gopls/internal/doc/generate.
14+
// $ cd gopls/internal/doc/generate && go generate
1715
package main
1816

1917
import (

0 commit comments

Comments
 (0)