Fix a couple of comment typos.
This commit is contained in:
parent
f83c452899
commit
04998fcda3
|
@ -105,7 +105,7 @@ shown here.
|
||||||
Custom Formatter
|
Custom Formatter
|
||||||
|
|
||||||
Spew provides a custom formatter the implements the fmt.Formatter interface
|
Spew provides a custom formatter the implements the fmt.Formatter interface
|
||||||
so that integrates cleanly with standard fmt package printing functions. The
|
so that it integrates cleanly with standard fmt package printing functions. The
|
||||||
formatter is useful for inline printing of smaller data types similar to the
|
formatter is useful for inline printing of smaller data types similar to the
|
||||||
standard %v format specifier.
|
standard %v format specifier.
|
||||||
|
|
||||||
|
|
|
@ -328,7 +328,7 @@ precision arguments (however they will still work on the format specifiers not
|
||||||
handled by the custom formatter).
|
handled by the custom formatter).
|
||||||
|
|
||||||
Typically this function shouldn't be called directly. It is much easier to make
|
Typically this function shouldn't be called directly. It is much easier to make
|
||||||
use of the custom formatter is to call one of the convenience functions such as
|
use of the custom formatter by calling one of the convenience functions such as
|
||||||
Printf, Println, or Printf.
|
Printf, Println, or Printf.
|
||||||
*/
|
*/
|
||||||
func NewFormatter(v interface{}) (f fmt.Formatter) {
|
func NewFormatter(v interface{}) (f fmt.Formatter) {
|
||||||
|
|
Loading…
Reference in New Issue