mir: move mirgration module to internal pkg

pull/196/head
Michael Li 3 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 package internal
import ( import (
"github.com/rocboss/paopao-ce/internal/broker/migration" "github.com/rocboss/paopao-ce/internal/migration"
wb "github.com/rocboss/paopao-ce/internal/servants/web/broker" "github.com/rocboss/paopao-ce/internal/servants/web/broker"
"github.com/rocboss/paopao-ce/internal/servants/web/routers/api" "github.com/rocboss/paopao-ce/internal/servants/web/routers/api"
) )
@ -15,6 +15,6 @@ func Initialize() {
migration.Run() migration.Run()
// initialize service // initialize service
wb.Initialize() broker.Initialize()
api.Initialize() api.Initialize()
} }

Loading…
Cancel
Save