aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorGravatar Miek Gieben <miek@miek.nl> 2016-08-23 16:36:29 +0100
committerGravatar GitHub <noreply@github.com> 2016-08-23 16:36:29 +0100
commit47f4e165a004c10661bb18f5994d283130c93fec (patch)
tree179241bc646aed51219530dd40672c4c7e81fe64 /README.md
parent2153d2defd194d6678b749e54b72b21ed9f4b123 (diff)
downloadcoredns-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.md6
1 files changed, 2 insertions, 4 deletions
diff --git a/README.md b/README.md
index e7d62735c..de4676e5a 100644
--- a/README.md
+++ b/README.md
@@ -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: