repositoryimpl

package
v0.0.0-...-d7fecdb Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 10, 2023 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewApiInfo

func NewApiInfo(m mongodbClient) repository.ApiInfo

func NewApiService

func NewApiService(m mongodbClient) repository.ApiService

func NewLuoJiaRepo

func NewLuoJiaRepo(m mongodbClient) repository.LuoJia

func NewWuKongPictureRepo

func NewWuKongPictureRepo(m mongodbClient) repository.WuKongPicture

func NewWuKongRepo

func NewWuKongRepo(m mongodbClient) repository.WuKong

Types

type DCompetitorInfo

type DCompetitorInfo struct {
	Name     string            `bson:"name"      json:"name,omitempty"`
	City     string            `bson:"city"      json:"city,omitempty"`
	Email    string            `bson:"email"     json:"email,omitempty"`
	Phone    string            `bson:"phone"     json:"phone,omitempty"`
	Account  string            `bson:"account"   json:"account,omitempty"`
	Identity string            `bson:"identity"  json:"identity,omitempty"`
	Province string            `bson:"province"  json:"province,omitempty"`
	Detail   map[string]string `bson:"detail"    json:"detail,omitempty"`
}

type TWukongTask

type TWukongTask struct {
	Id        uint64 `gorm:"primaryKey;column:id"`
	User      string `gorm:"column:username"`
	Style     string `gorm:"column:picture_style"`
	Desc      string `gorm:"column:description"`
	Status    string `gorm:"column:status"`
	Links     string `gorm:"links"`
	CreatedAt int64  `gorm:"column:created_at;default:extract(epoch from now())"`
}

func (TWukongTask) TableName

func (w TWukongTask) TableName() string

type WuKongPictureListOptionDO

type WuKongPictureListOptionDO = repository.WuKongPictureListOption

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL