port new API back to refactor.

This commit is contained in:
Miroslav Šedivý
2020-11-01 16:54:06 +01:00
parent 9559edf4d4
commit 507fce7862
8 changed files with 53 additions and 45 deletions

9
internal/types/api.go Normal file
View File

@ -0,0 +1,9 @@
package types
import (
"github.com/go-chi/chi"
)
type ApiManager interface {
Mount(r *chi.Mux)
}