freelancerRepository

package
v0.0.0-...-945c817 Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2019 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PATH2AVATAR = "https://api.fwork.live/account/avatar/"
)

Variables

This section is empty.

Functions

func NewFreelancerRepository

func NewFreelancerRepository(db *sql.DB) freelancer.Repository

Types

type FreelancerRepository

type FreelancerRepository struct {
	// contains filtered or unexported fields
}

func (*FreelancerRepository) Create

func (*FreelancerRepository) Edit

func (*FreelancerRepository) Find

func (*FreelancerRepository) FindByUser

func (r *FreelancerRepository) FindByUser(accountId int64) (*model.Freelancer, error)

func (*FreelancerRepository) FindPartByTime

func (r *FreelancerRepository) FindPartByTime(offset int, limit int) ([]model.ExtendFreelancer, error)

func (*FreelancerRepository) ListOnPattern

func (r *FreelancerRepository) ListOnPattern(pattern string, params model.SearchParams) ([]model.ExtendFreelancer, error)

Jump to

Keyboard shortcuts

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