Documentation ¶
Index ¶
- Constants
- type Repository
- type Service
- func (s Service) Create(ctx context.Context, r *pb.Platform) (*pb.Platform, error)
- func (s Service) Delete(ctx context.Context, r *pb.OnePlatformRequest) (*types.Empty, error)
- func (s Service) Get(ctx context.Context, r *pb.OnePlatformRequest) (*pb.Platform, error)
- func (s Service) List(ctx context.Context, r *pb.ListPlatformRequest) (*pb.ListPlatformResponse, error)
- func (s Service) Update(ctx context.Context, r *pb.Platform) (*pb.Platform, error)
Constants ¶
View Source
const ( TypeShopify = "shopify" TypeWooCommerce = "woocommerce" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Repository ¶
type Repository struct {
// contains filtered or unexported fields
}
func NewRepository ¶
func NewRepository(db *gorm.DB) *Repository
Click to show internal directories.
Click to hide internal directories.