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.
7 lines
90 B
Go
7 lines
90 B
Go
package main
|
|
|
|
import "github.com/miekg/coredns/coremain"
|
|
|
|
func main() {
|
|
coremain.Run()
|
|
}
|