user.go 261 B

12345678910111213
  1. package service
  2. import "go-common/app/admin/ep/saga/model"
  3. // UserInfo get username and email.
  4. func (s *Service) UserInfo(userName string) (userInfo *model.User) {
  5. userInfo = &model.User{
  6. Name: userName,
  7. EMail: userName + "@bilibili.com",
  8. }
  9. return
  10. }