From 51337ded775c91dc26574d7d2dc2e493cf416138 Mon Sep 17 00:00:00 2001 From: "Wlazlo, Matt" Date: Mon, 16 Apr 2018 11:07:48 +1000 Subject: fixed example comment, test coverage issue --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'README.md') 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 -- cgit v1.2.3