mirror of
https://github.com/iLoveElysia/openbilibili.git
synced 2026-03-14 05:46:26 -05:00
12 lines
204 B
Go
12 lines
204 B
Go
package service
|
|
|
|
import (
|
|
"context"
|
|
)
|
|
|
|
// GetItem get item detail
|
|
func (s *Service) GetItem(c context.Context, id int, bot bool) (res []byte, err error) {
|
|
res, err = s.dao.GetItem(c, id, bot)
|
|
return
|
|
}
|