Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Version = "0.0.1"
Functions ¶
This section is empty.
Types ¶
type ConfigRepo ¶
type ConfigRepo struct {
// contains filtered or unexported fields
}
func NewConfigRepo ¶
func NewConfigRepo(db *gorm.DB) *ConfigRepo
func (*ConfigRepo) GetConfig ¶
func (repo *ConfigRepo) GetConfig(data Config) error
func (*ConfigRepo) Save ¶
func (repo *ConfigRepo) Save(data Config) error
type RowConfigItem ¶
type ShopeeMapItem ¶
type ShopeeMapper ¶
type ShopeeMapper struct {
// contains filtered or unexported fields
}
func NewShopeeMapper ¶
func NewShopeeMapper(db *gorm.DB) *ShopeeMapper
func (*ShopeeMapper) GetShopeeID ¶ added in v1.1.16
func (maper *ShopeeMapper) GetShopeeID(tokopediaID int) (*ShopeeMapItem, error)
func (*ShopeeMapper) GetTokopediaID ¶
func (maper *ShopeeMapper) GetTokopediaID(shopeID int64) (*ShopeeMapItem, error)
type ShopeeMapperConfig ¶
type ShopeeMapperConfig struct {
UseMapper bool `json:"use_mapper"`
}
func (*ShopeeMapperConfig) KeyConfig ¶
func (cfg *ShopeeMapperConfig) KeyConfig() string
Click to show internal directories.
Click to hide internal directories.