init commit

This commit is contained in:
flswld
2022-11-20 15:38:00 +08:00
parent eda2b643b9
commit 3efed3defe
5834 changed files with 636508 additions and 0 deletions
+18
View File
@@ -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
}