Skip to content

Commit 3881046

Browse files
committed
gopls: add a go:generate rule for doc generation
Change-Id: I31ade9b6eec5ff814fc803a82a182d0f92237d59 Reviewed-on: https://go-review.googlesource.com/c/tools/+/369775 Reviewed-by: Robert Findley <[email protected]> Run-TryBot: Hyang-Ah Hana Kim <[email protected]> gopls-CI: kokoro <[email protected]> TryBot-Result: Gopher Robot <[email protected]>
1 parent 4c3cb1e commit 3881046

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

gopls/main.go

+2
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111
// for the most up-to-date documentation.
1212
package main // import "golang.org/x/tools/gopls"
1313

14+
//go:generate go run doc/generate.go
15+
1416
import (
1517
"context"
1618
"golang.org/x/tools/internal/analysisinternal"

0 commit comments

Comments
 (0)