Skip to content

Commit

Permalink
Fix a few typos / clarify. (#169)
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanvanburen authored and rs committed Jul 19, 2019
1 parent a7f9fc2 commit b806a5e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions event.go
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand All @@ -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
Expand Down

0 comments on commit b806a5e

Please sign in to comment.