diff --git a/server.go b/server.go index a99ece4..e2c4800 100644 --- a/server.go +++ b/server.go @@ -16,7 +16,7 @@ type Server interface { Serve() error } -func NewServer(sh ServerHandler) Server { +func New(sh ServerHandler) Server { s := &server{ sh: sh, }