mirror of
https://github.com/coredns/coredns.git
synced 2025-10-31 18:23:13 -04:00
plugin/template: README tweaks (#1361)
* plugin/template: README tweaks * Go gen it
This commit is contained in:
@@ -91,9 +91,7 @@ func (h Handler) ServeDNS(ctx context.Context, w dns.ResponseWriter, r *dns.Msg)
|
||||
}
|
||||
|
||||
// Name implements the plugin.Handler interface.
|
||||
func (h Handler) Name() string {
|
||||
return "template"
|
||||
}
|
||||
func (h Handler) Name() string { return "template" }
|
||||
|
||||
func executeRRTemplate(section string, template *gotmpl.Template, data templateData) (dns.RR, error) {
|
||||
buffer := &bytes.Buffer{}
|
||||
|
||||
Reference in New Issue
Block a user