mirror of
https://github.com/FlourishingWorld/hk4e.git
synced 2026-03-01 00:35:36 +08:00
init commit
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
package service
|
||||
|
||||
import (
|
||||
"water/dao"
|
||||
)
|
||||
|
||||
type RpcService struct {
|
||||
dao *dao.Dao
|
||||
service *Service
|
||||
}
|
||||
|
||||
// 构造函数
|
||||
func NewRpcService(dao *dao.Dao, service *Service) (r *RpcService) {
|
||||
r = new(RpcService)
|
||||
r.service = service
|
||||
r.dao = dao
|
||||
return r
|
||||
}
|
||||
Reference in New Issue
Block a user