interest

package
v0.0.0-...-e7c2cf1 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2023 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Repository

type Repository interface {
	InsertNewStats(interestId string) error

	GetInterest(userId string) (interestEntity.FullDTO, error)

	InsertInterestBio(intr *interestEntity.BioDTO) error
	SelectInterestBio(userId string) (interestEntity.BioDTO, error)
	UpdateInterestBio(intr interestEntity.BioDTO) error

	InsertInterestHobbies(interestId string, hobbies []interestEntity.HobbieDTO) error
	UpdateInterestHobbies(interestId string, hobbies []interestEntity.HobbieDTO) error
	DeleteInterestHobbies(interestId string, ids []string) ([]string, error)

	InsertInterestMovieSeries(interestId string, movieSeries []interestEntity.MovieSerieDTO) error
	UpdateInterestMovieSeries(interestId string, movieSeries []interestEntity.MovieSerieDTO) error
	DeleteInterestMovieSeries(interestId string, ids []string) ([]string, error)

	InsertInterestTraveling(interestId string, travels []interestEntity.TravelDTO) error
	UpdateInterestTraveling(interestId string, travels []interestEntity.TravelDTO) error
	DeleteInterestTraveling(interestId string, ids []string) ([]string, error)

	InsertInterestSports(interestId string, sports []interestEntity.SportDTO) error
	UpdateInterestSport(interestId string, sports []interestEntity.SportDTO) error
	DeleteInterestSports(interestId string, ids []string) ([]string, error)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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