diff options
author | 2016-08-23 16:36:29 +0100 | |
---|---|---|
committer | 2016-08-23 16:36:29 +0100 | |
commit | 47f4e165a004c10661bb18f5994d283130c93fec (patch) | |
tree | 179241bc646aed51219530dd40672c4c7e81fe64 /README.md | |
parent | 2153d2defd194d6678b749e54b72b21ed9f4b123 (diff) | |
download | coredns-47f4e165a004c10661bb18f5994d283130c93fec.tar.gz coredns-47f4e165a004c10661bb18f5994d283130c93fec.tar.zst coredns-47f4e165a004c10661bb18f5994d283130c93fec.zip |
Fix main startup (#232)
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.
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -51,10 +51,8 @@ Caddyfile when I forked it). ## Compilation -CoreDNS (as a servertype plugin for Caddy) has a dependency on Caddy - this is *almost* like -the normal Go dependencies, but with a small twist: caddy (the source) need to know that CoreDNS -exists and for this we need to add 1 line `_ "github.com/miekg/coredns/core"` to file in caddy. - +CoreDNS (as a servertype plugin for Caddy) has a dependency on Caddy, but this is not different than +any other Go dependency. You have the source of CoreDNS, this should preferably be downloaded under your `$GOPATH`. Get all dependencies: |