aboutsummaryrefslogtreecommitdiff
path: root/marusia.go
diff options
context:
space:
mode:
Diffstat (limited to 'marusia.go')
-rw-r--r--marusia.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/marusia.go b/marusia.go
index 5356720..953c45c 100644
--- a/marusia.go
+++ b/marusia.go
@@ -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()}
}