mirror of
https://gitee.com/dromara/mayfly-go
synced 2025-11-03 16:00:25 +08:00
refactor: remove router、ioc is adjusted to inject by type
This commit is contained in:
7
server/internal/msg/api/api.go
Normal file
7
server/internal/msg/api/api.go
Normal file
@@ -0,0 +1,7 @@
|
||||
package api
|
||||
|
||||
import "mayfly-go/pkg/ioc"
|
||||
|
||||
func InitIoc() {
|
||||
ioc.Register(new(Msg))
|
||||
}
|
||||
Reference in New Issue
Block a user