mirror of
https://github.com/coredns/coredns.git
synced 2025-12-08 19:35:10 -05:00
go gen improvements (#524)
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.
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
//go:generate go run ../../gen/directives_generate.go ../../middleware.cfg
|
||||
package dnsserver
|
||||
|
||||
import (
|
||||
|
||||
Reference in New Issue
Block a user