tweak examples
This commit is contained in:
parent
c03a914cec
commit
b778cdc2ff
|
@ -64,6 +64,6 @@ func ExampleAuthors() {
|
||||||
// To extend the authors list, just append to dns.Authors (a []string)
|
// To extend the authors list, just append to dns.Authors (a []string)
|
||||||
Authors = append(Authors, "G. I. Joe")
|
Authors = append(Authors, "G. I. Joe")
|
||||||
|
|
||||||
// Or
|
// Or ...
|
||||||
Authors = []string{"Just Me"}
|
Authors = []string{"Just Me"}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue