Documentation
¶
Index ¶
- func GetAllAreas(ctx context.Context) (areas map[string][]Area, err error)
- func GetArea(ctx context.Context, prefecture string, area string) (id int, err error)
- func GetLives(query LiveQuery) (lives []util.Live, err error)
- func GetUserByID(ctx context.Context, id int) (user util.User, err error)
- func GetUserByUsername(ctx context.Context, username string) (user util.User, err error)
- func GetUserByUsernameOrEmail(ctx context.Context, query string) (user util.User, err error)
- func PostArtists(ctx context.Context, artists []string) (n int64, err error)
- func PostLiveHouses(ctx context.Context, livehouses []util.LiveHouse) (n int, err error)
- func PostLives(ctx context.Context, lives []util.Live) (deleted int64, added int64, modified int64, addedArtists int64, err error)
- func PostUser(ctx context.Context, user util.User) (err error)
- func PushAliases(ctx context.Context, tx pgx.Tx, artist string, aliases []string) (n int64, err error)
- type Area
- type LiveQuery
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetUserByUsername ¶
func PostLiveHouses ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.