aboutsummaryrefslogtreecommitdiff
path: root/core/coredns.go
diff options
context:
space:
mode:
authorGravatar Miek Gieben <miek@miek.nl> 2017-02-14 19:23:18 +0000
committerGravatar GitHub <noreply@github.com> 2017-02-14 19:23:18 +0000
commit98c86f3f9fb2abcf9adcae5fd94dd6e3d65eca0b (patch)
tree3dbe155921f88583fbfed34824c4eec4d877aeb3 /core/coredns.go
parenta5f3cb5fe542f792bd8289daa5fffb6137b81999 (diff)
downloadcoredns-98c86f3f9fb2abcf9adcae5fd94dd6e3d65eca0b.tar.gz
coredns-98c86f3f9fb2abcf9adcae5fd94dd6e3d65eca0b.tar.zst
coredns-98c86f3f9fb2abcf9adcae5fd94dd6e3d65eca0b.zip
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.
Diffstat (limited to 'core/coredns.go')
-rw-r--r--core/coredns.go3
1 files changed, 0 insertions, 3 deletions
diff --git a/core/coredns.go b/core/coredns.go
index b621f2c27..0449c4c2f 100644
--- a/core/coredns.go
+++ b/core/coredns.go
@@ -1,7 +1,4 @@
// Package core registers the server and all plugins we support.
-
-// Additional middleware packages
-//go:generate go run ../gen/directives_generate.go ../middleware.cfg
package core
import (