Sort imports intro three blocks (stdlib, non-stdlib, current prj)
This commit is contained in:
@@ -3,8 +3,9 @@ package mux
|
|||||||
import (
|
import (
|
||||||
"net/http"
|
"net/http"
|
||||||
|
|
||||||
"github.com/BBVA/kapow/internal/server/model"
|
|
||||||
"github.com/gorilla/mux"
|
"github.com/gorilla/mux"
|
||||||
|
|
||||||
|
"github.com/BBVA/kapow/internal/server/model"
|
||||||
)
|
)
|
||||||
|
|
||||||
func gorillize(rs []model.Route, buildHandler func(model.Route) http.Handler) *mux.Router {
|
func gorillize(rs []model.Route, buildHandler func(model.Route) http.Handler) *mux.Router {
|
||||||
|
|||||||
@@ -4,8 +4,9 @@ import (
|
|||||||
"net/http"
|
"net/http"
|
||||||
"sync"
|
"sync"
|
||||||
|
|
||||||
"github.com/BBVA/kapow/internal/server/model"
|
|
||||||
"github.com/gorilla/mux"
|
"github.com/gorilla/mux"
|
||||||
|
|
||||||
|
"github.com/BBVA/kapow/internal/server/model"
|
||||||
)
|
)
|
||||||
|
|
||||||
type SwappableMux struct {
|
type SwappableMux struct {
|
||||||
|
|||||||
Reference in New Issue
Block a user