From b806a5ecbe5347ad9ef05121fea8f4acc65fa5fc Mon Sep 17 00:00:00 2001 From: Stefan VanBuren Date: Fri, 19 Jul 2019 13:10:43 -0400 Subject: [PATCH] Fix a few typos / clarify. (#169) --- event.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/event.go b/event.go index 87db45b..c1c946b 100644 --- a/event.go +++ b/event.go @@ -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