Skip to content

Commit

Permalink
gopls: move gopls/doc/generate package
Browse files Browse the repository at this point in the history
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 <[email protected]>
Reviewed-by: Junyang Shao <[email protected]>
Auto-Submit: Alan Donovan <[email protected]>
LUCI-TryBot-Result: Go LUCI <[email protected]>
  • Loading branch information
xieyuschen authored and gopherbot committed Mar 5, 2025
1 parent 0721940 commit 340f21a
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion gopls/internal/doc/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

//go:generate go run ../../doc/generate
//go:generate go run ./generate

// The doc package provides JSON metadata that documents gopls' public
// interfaces.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,7 @@
//
// Run it with this command:
//
// $ cd gopls/internal/doc && go generate
//
// TODO(adonovan): move this package to gopls/internal/doc/generate.
// $ cd gopls/internal/doc/generate && go generate
package main

import (
Expand Down
File renamed without changes.

0 comments on commit 340f21a

Please sign in to comment.