typo
This commit is contained in:
parent
827e4a476f
commit
95ffaca79d
|
@ -4,7 +4,7 @@ package dns
|
||||||
|
|
||||||
// SplitLabels splits a domainname string into its labels.
|
// SplitLabels splits a domainname string into its labels.
|
||||||
// www.miek.nl. returns []string{"www", "miek", "nl"}
|
// www.miek.nl. returns []string{"www", "miek", "nl"}
|
||||||
// The root label (.) returns nil
|
// The root label (.) returns nil.
|
||||||
func SplitLabels(s string) []string {
|
func SplitLabels(s string) []string {
|
||||||
if (s == ".") {
|
if (s == ".") {
|
||||||
return nil
|
return nil
|
||||||
|
|
Loading…
Reference in New Issue