diff options
author | 2018-02-23 15:02:05 +0000 | |
---|---|---|
committer | 2018-02-23 15:02:05 +0000 | |
commit | 455040c1439324d6c53841c9b877e4e7c76df31e (patch) | |
tree | 096de5eb354b1f3e7d19a063e2303cdc3025e822 /plugin/pkg/rcode/rcode.go | |
parent | e3b7beab6abd4c725b386ee5a89b344b5d4d413b (diff) | |
download | coredns-455040c1439324d6c53841c9b877e4e7c76df31e.tar.gz coredns-455040c1439324d6c53841c9b877e4e7c76df31e.tar.zst coredns-455040c1439324d6c53841c9b877e4e7c76df31e.zip |
doc: some function/vars/const/package level updates (#1558)
* doc: some function/vars/const/package level updates
Various update that stood out while reading godoc.org for CoreDNS.
* Fix some misspellings as well
Diffstat (limited to 'plugin/pkg/rcode/rcode.go')
-rw-r--r-- | plugin/pkg/rcode/rcode.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/plugin/pkg/rcode/rcode.go b/plugin/pkg/rcode/rcode.go index 32863f0b2..d221bcbd2 100644 --- a/plugin/pkg/rcode/rcode.go +++ b/plugin/pkg/rcode/rcode.go @@ -6,8 +6,7 @@ import ( "github.com/miekg/dns" ) -// ToString convert the rcode to the official DNS string, or to "RCODE"+value if the RCODE -// value is unknown. +// ToString convert the rcode to the official DNS string, or to "RCODE"+value if the RCODE value is unknown. func ToString(rcode int) string { if str, ok := dns.RcodeToString[rcode]; ok { return str |