mirror of
https://github.com/sourcegraph/sourcegraph.git
synced 2026-02-06 16:31:47 +00:00
doc: references generator does not have build tag (#26277)
This confuses some tools since you end up with a main package with no main function. I don't really see the point of having the ignore build tag, since it won't run unless someone explicitly runs it. Additionally I remove gen.go since we can just have the go generate command inside of the file.
This commit is contained in:
parent
9f6088e5b1
commit
5b5ef282ef
@ -1,8 +1,7 @@
|
||||
//go:build ignore
|
||||
// +build ignore
|
||||
|
||||
package main
|
||||
|
||||
//go:generate go run ./doc.go
|
||||
|
||||
import (
|
||||
"io/fs"
|
||||
"log"
|
||||
|
||||
@ -1,3 +0,0 @@
|
||||
package main
|
||||
|
||||
//go:generate go run ./doc.go
|
||||
Loading…
Reference in New Issue
Block a user