mirror of
				https://github.com/coredns/coredns.git
				synced 2025-11-03 18:53:13 -05:00 
			
		
		
		
	Set version and name of the program. And then call coremain.Run(). The coremain split makes CoreDNS embeddable. Also see #189 for an old PR.
		
			
				
	
	
		
			8 lines
		
	
	
		
			90 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			8 lines
		
	
	
		
			90 B
		
	
	
	
		
			Go
		
	
	
	
	
	
package main
 | 
						|
 | 
						|
import "github.com/miekg/coredns/coremain"
 | 
						|
 | 
						|
func main() {
 | 
						|
	coremain.Run()
 | 
						|
}
 |