diff options
Diffstat (limited to 'marusia.go')
-rw-r--r-- | marusia.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -47,8 +47,8 @@ func (m *Marusia) SetErrorLogger(errorLogger func(error)) *Marusia { return m } -// NewMarusia is API constructor -func NewMarusia(handler MessageHandler) *Marusia { +// New is API constructor +func New(handler MessageHandler) *Marusia { return &Marusia{handler: handler, ctx: context.Background()} } |