Versions in this module Expand all Collapse all v2 v2.0.0 Jan 26, 2021 Changes in this version + var File_pkg_proto_product_types_proto protoreflect.FileDescriptor + type Product struct + Attributes map[string]string + CategoryId string + CreatedAt *timestamppb.Timestamp + DeliveredAt *timestamppb.Timestamp + Description string + Id string + Name string + Price string + Sku string + Stock string + UpdatedAt *timestamppb.Timestamp + Url string + func (*Product) Descriptor() ([]byte, []int) + func (*Product) ProtoMessage() + func (m *Product) Validate() error + func (x *Product) GetAttributes() map[string]string + func (x *Product) GetCategoryId() string + func (x *Product) GetCreatedAt() *timestamppb.Timestamp + func (x *Product) GetDeliveredAt() *timestamppb.Timestamp + func (x *Product) GetDescription() string + func (x *Product) GetId() string + func (x *Product) GetName() string + func (x *Product) GetPrice() string + func (x *Product) GetSku() string + func (x *Product) GetStock() string + func (x *Product) GetUpdatedAt() *timestamppb.Timestamp + func (x *Product) GetUrl() string + func (x *Product) ProtoReflect() protoreflect.Message + func (x *Product) Reset() + func (x *Product) String() string + type ProductValidationError struct + func (e ProductValidationError) Cause() error + func (e ProductValidationError) Error() string + func (e ProductValidationError) ErrorName() string + func (e ProductValidationError) Field() string + func (e ProductValidationError) Key() bool + func (e ProductValidationError) Reason() string + type Products struct + List []*Product + Pagination *common.PaginationResult + func (*Products) Descriptor() ([]byte, []int) + func (*Products) ProtoMessage() + func (m *Products) Validate() error + func (x *Products) GetList() []*Product + func (x *Products) GetPagination() *common.PaginationResult + func (x *Products) ProtoReflect() protoreflect.Message + func (x *Products) Reset() + func (x *Products) String() string + type ProductsValidationError struct + func (e ProductsValidationError) Cause() error + func (e ProductsValidationError) Error() string + func (e ProductsValidationError) ErrorName() string + func (e ProductsValidationError) Field() string + func (e ProductsValidationError) Key() bool + func (e ProductsValidationError) Reason() string Other modules containing this package github.com/gomaglev/protos