mir: move mirgration module to internal pkg

pull/196/head
Michael Li 2 years ago
parent 7636412940
commit 1125487bbc

@ -1,5 +0,0 @@
// Copyright 2022 ROC. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
package broker

@ -5,8 +5,8 @@
package internal
import (
"github.com/rocboss/paopao-ce/internal/broker/migration"
wb "github.com/rocboss/paopao-ce/internal/servants/web/broker"
"github.com/rocboss/paopao-ce/internal/migration"
"github.com/rocboss/paopao-ce/internal/servants/web/broker"
"github.com/rocboss/paopao-ce/internal/servants/web/routers/api"
)
@ -15,6 +15,6 @@ func Initialize() {
migration.Run()
// initialize service
wb.Initialize()
broker.Initialize()
api.Initialize()
}

Loading…
Cancel
Save