mirror of
				https://github.com/coredns/coredns.git
				synced 2025-11-03 18:53:13 -05: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.
		
			
				
	
	
		
			32 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			32 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			Go
		
	
	
	
	
	
// Package core registers the server and all plugins we support.
 | 
						|
package core
 | 
						|
 | 
						|
import (
 | 
						|
	// plug in the server
 | 
						|
	_ "github.com/miekg/coredns/core/dnsserver"
 | 
						|
 | 
						|
	// plug in the standard directives (sorted)
 | 
						|
	_ "github.com/miekg/coredns/middleware/auto"
 | 
						|
	_ "github.com/miekg/coredns/middleware/bind"
 | 
						|
	_ "github.com/miekg/coredns/middleware/cache"
 | 
						|
	_ "github.com/miekg/coredns/middleware/chaos"
 | 
						|
	_ "github.com/miekg/coredns/middleware/dnssec"
 | 
						|
	_ "github.com/miekg/coredns/middleware/erratic"
 | 
						|
	_ "github.com/miekg/coredns/middleware/errors"
 | 
						|
	_ "github.com/miekg/coredns/middleware/etcd"
 | 
						|
	_ "github.com/miekg/coredns/middleware/file"
 | 
						|
	_ "github.com/miekg/coredns/middleware/health"
 | 
						|
	_ "github.com/miekg/coredns/middleware/kubernetes"
 | 
						|
	_ "github.com/miekg/coredns/middleware/loadbalance"
 | 
						|
	_ "github.com/miekg/coredns/middleware/log"
 | 
						|
	_ "github.com/miekg/coredns/middleware/metrics"
 | 
						|
	_ "github.com/miekg/coredns/middleware/pprof"
 | 
						|
	_ "github.com/miekg/coredns/middleware/proxy"
 | 
						|
	_ "github.com/miekg/coredns/middleware/reverse"
 | 
						|
	_ "github.com/miekg/coredns/middleware/rewrite"
 | 
						|
	_ "github.com/miekg/coredns/middleware/root"
 | 
						|
	_ "github.com/miekg/coredns/middleware/secondary"
 | 
						|
	_ "github.com/miekg/coredns/middleware/trace"
 | 
						|
	_ "github.com/miekg/coredns/middleware/whoami"
 | 
						|
)
 |