From bb96ae8e6cb08c6414ddef3f444eb132e944cfd4 Mon Sep 17 00:00:00 2001 From: Vasiliy Tolstov Date: Wed, 10 Feb 2021 14:20:19 +0300 Subject: [PATCH] fix interface Signed-off-by: Vasiliy Tolstov --- static.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/static.go b/static.go index a8661b1..fceeb39 100644 --- a/static.go +++ b/static.go @@ -22,6 +22,10 @@ func (s *static) Init(opts ...router.Option) error { return nil } +func (s *static) Name() string { + return s.options.Name +} + func (s *static) Options() router.Options { return s.options }