This commit is contained in:
Miek Gieben 2018-04-25 19:32:42 +01:00
parent 15e2168944
commit 2ba108890d

View File

@ -10,12 +10,14 @@ import (
"github.com/coredns/coredns/plugin" "github.com/coredns/coredns/plugin"
"github.com/coredns/coredns/plugin/metrics" "github.com/coredns/coredns/plugin/metrics"
"github.com/coredns/coredns/plugin/pkg/log" clog "github.com/coredns/coredns/plugin/pkg/log"
"github.com/miekg/dns" "github.com/miekg/dns"
"golang.org/x/net/context" "golang.org/x/net/context"
) )
var log = clog.NewWithPlugin("example")
// Example is an example plugin to show how to write a plugin. // Example is an example plugin to show how to write a plugin.
type Example struct { type Example struct {
Next plugin.Handler Next plugin.Handler