summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorWlazlo, Matt <[email protected]>2018-04-16 11:07:48 +1000
committerWlazlo, Matt <[email protected]>2018-04-16 11:07:48 +1000
commit51337ded775c91dc26574d7d2dc2e493cf416138 (patch)
treefbcf34b3dbf7c874ed261ed390c82c6fc933479f /README.md
parentd4cc703210ff08d7bc4f73bfbec1e51eda29a5a4 (diff)
fixed example comment, test coverage issue
Diffstat (limited to 'README.md')
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index f3d1bfc..e8b62a4 100644
--- a/README.md
+++ b/README.md
@@ -265,7 +265,7 @@ func (n *NameDotName) UnmarshalText(b []byte) error {
return nil
}
-// optional, implement in case you want to use defaults
+// optional: implement in case you want to display a default value in the usage string
func (n *NameDotName) MarshalText() (text []byte, err error) {
text = []byte(fmt.Sprintf("%s.%s", n.Head, n.Tail))
return