mirror of
https://github.com/coredns/coredns.git
synced 2025-08-06 06:17:00 +02:00
Remove the "gen" directory and move directives_generate.go out of it. Add a build ignore tag so it isn't build by default. Cleanup the go gen invocations so there are not seen as package docs. Simplify the code a bit and don't run go gen twice.
10 lines
135 B
Go
10 lines
135 B
Go
package main
|
|
|
|
//go:generate go run directives_generate.go
|
|
|
|
import "github.com/miekg/coredns/coremain"
|
|
|
|
func main() {
|
|
coremain.Run()
|
|
}
|