golang-im聊天
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

19 lines
346 B

  1. package repo
  2. import (
  3. "gim/internal/business/domain/user/model"
  4. )
  5. type imPackageRepo struct{}
  6. var ImPackageRepo = new(imPackageRepo)
  7. // Get 获取单个套餐包
  8. func (*imPackageRepo) Get(masterId int64) (*model.ImPackage, error) {
  9. imPackage, err := ImPackageDao.Get(masterId)
  10. if err != nil {
  11. return nil, err
  12. }
  13. return imPackage, err
  14. }