Fix a few typos / clarify. (#169)

This commit is contained in:
Stefan VanBuren 2019-07-19 13:10:43 -04:00 committed by Olivier Poitrey
parent a7f9fc2a17
commit b806a5ecbe
1 changed files with 4 additions and 4 deletions

View File

@ -105,7 +105,7 @@ func (e *Event) Msg(msg string) {
e.msg(msg)
}
// Send just like call Msg("")
// Send is equivalent to calling Msg("").
//
// NOTICE: once this method is called, the *Event should be disposed.
func (e *Event) Send() {
@ -115,10 +115,10 @@ func (e *Event) Send() {
e.msg("")
}
// Msgf sends the event with formated msg added as the message field if not empty.
// Msgf sends the event with formatted msg added as the message field if not empty.
//
// NOTICE: once this methid is called, the *Event should be disposed.
// Calling Msg twice can have unexpected result.
// NOTICE: once this method is called, the *Event should be disposed.
// Calling Msgf twice can have unexpected result.
func (e *Event) Msgf(format string, v ...interface{}) {
if e == nil {
return