docs: fix example hint

This commit is contained in:
Aleksandr Razumov
2017-02-27 23:53:57 +03:00
parent e1df2237f0
commit 9481be716d

View File

@@ -635,7 +635,7 @@ func ExampleMessage() {
Fingerprint,
)
// Instead of calling Build, use AddTo(m) directly for all setters
// that are available before.
// to reduce allocations.
// For example:
// software := NewSoftware("ernado/stun")
// software.AddTo(m) // no allocations