package mall import ( "context" _ "joybuywork/test" "testing" pb "joybuywork/proto/go_proto/w_mall" ) func TestItemList(t *testing.T) { res := &pb.ItemListRes{} container := new(ItemList) { container.Init(context.Background()) container.Req = &pb.ItemListReq{ MallId: 367716860052148224, Status: 1, } container.Res = res } t.Log(container.Run(), res) }