item.go 204 B

1234567891011
  1. package service
  2. import (
  3. "context"
  4. )
  5. // GetItem get item detail
  6. func (s *Service) GetItem(c context.Context, id int, bot bool) (res []byte, err error) {
  7. res, err = s.dao.GetItem(c, id, bot)
  8. return
  9. }