Documentation ¶
Index ¶
- func Migrate(db *sql.DB) error
- type DBTX
- type Event
- type EventsByAscOffsetLimitParams
- type EventsByDescOffsetLimitParams
- type EventsByTagsAscOffsetLimitParams
- type EventsByTagsDescOffsetLimitParams
- type InsertEventParams
- type InsertProjectParams
- type Project
- type ProjectsByAscOffsetLimitParams
- type ProjectsByDescOffsetLimitParams
- type ProjectsByTagsAscOffsetLimitParams
- type ProjectsByTagsDescOffsetLimitParams
- type Queries
- func (q *Queries) CountEvents(ctx context.Context, db DBTX) (int64, error)
- func (q *Queries) CountEventsByTags(ctx context.Context, db DBTX, tags []string) (int64, error)
- func (q *Queries) CountProjects(ctx context.Context, db DBTX) (int64, error)
- func (q *Queries) CountProjectsByTags(ctx context.Context, db DBTX, tags []string) (int64, error)
- func (q *Queries) CountUserEvents(ctx context.Context, db DBTX, userID int32) (int64, error)
- func (q *Queries) CountUserProjects(ctx context.Context, db DBTX, userID int32) (int64, error)
- func (q *Queries) DeleteEvent(ctx context.Context, db DBTX, eventID int32) error
- func (q *Queries) DeleteProject(ctx context.Context, db DBTX, projectID int32) error
- func (q *Queries) EventByUUID(ctx context.Context, db DBTX, argUuid uuid.UUID) (Event, error)
- func (q *Queries) EventsByAscOffsetLimit(ctx context.Context, db DBTX, arg EventsByAscOffsetLimitParams) ([]Event, error)
- func (q *Queries) EventsByDescOffsetLimit(ctx context.Context, db DBTX, arg EventsByDescOffsetLimitParams) ([]Event, error)
- func (q *Queries) EventsByTagsAscOffsetLimit(ctx context.Context, db DBTX, arg EventsByTagsAscOffsetLimitParams) ([]Event, error)
- func (q *Queries) EventsByTagsDescOffsetLimit(ctx context.Context, db DBTX, arg EventsByTagsDescOffsetLimitParams) ([]Event, error)
- func (q *Queries) InsertEvent(ctx context.Context, db DBTX, arg InsertEventParams) (Event, error)
- func (q *Queries) InsertProject(ctx context.Context, db DBTX, arg InsertProjectParams) (Project, error)
- func (q *Queries) InsertUser(ctx context.Context, db DBTX, githubEmail string) (User, error)
- func (q *Queries) ProjectByUUID(ctx context.Context, db DBTX, argUuid uuid.UUID) (Project, error)
- func (q *Queries) ProjectsByAscOffsetLimit(ctx context.Context, db DBTX, arg ProjectsByAscOffsetLimitParams) ([]Project, error)
- func (q *Queries) ProjectsByDescOffsetLimit(ctx context.Context, db DBTX, arg ProjectsByDescOffsetLimitParams) ([]Project, error)
- func (q *Queries) ProjectsByTagsAscOffsetLimit(ctx context.Context, db DBTX, arg ProjectsByTagsAscOffsetLimitParams) ([]Project, error)
- func (q *Queries) ProjectsByTagsDescOffsetLimit(ctx context.Context, db DBTX, arg ProjectsByTagsDescOffsetLimitParams) ([]Project, error)
- func (q *Queries) UpdateEvent(ctx context.Context, db DBTX, arg UpdateEventParams) (Event, error)
- func (q *Queries) UpdateProject(ctx context.Context, db DBTX, arg UpdateProjectParams) (Project, error)
- func (q *Queries) UserByGithubEmail(ctx context.Context, db DBTX, githubEmail string) (User, error)
- func (q *Queries) UserByUUID(ctx context.Context, db DBTX, argUuid uuid.UUID) (User, error)
- func (q *Queries) UserEventsByAscOffsetLimit(ctx context.Context, db DBTX, arg UserEventsByAscOffsetLimitParams) ([]Event, error)
- func (q *Queries) UserEventsByDescOffsetLimit(ctx context.Context, db DBTX, arg UserEventsByDescOffsetLimitParams) ([]Event, error)
- func (q *Queries) UserProjectsByAscOffsetLimit(ctx context.Context, db DBTX, arg UserProjectsByAscOffsetLimitParams) ([]Project, error)
- func (q *Queries) UserProjectsByDescOffsetLimit(ctx context.Context, db DBTX, arg UserProjectsByDescOffsetLimitParams) ([]Project, error)
- type UpdateEventParams
- type UpdateProjectParams
- type User
- type UserEventsByAscOffsetLimitParams
- type UserEventsByDescOffsetLimitParams
- type UserProjectsByAscOffsetLimitParams
- type UserProjectsByDescOffsetLimitParams
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type InsertEventParams ¶
type InsertProjectParams ¶
type Queries ¶
type Queries struct { }
func (*Queries) CountEvents ¶
func (*Queries) CountEventsByTags ¶
func (*Queries) CountProjects ¶
func (*Queries) CountProjectsByTags ¶
func (*Queries) CountUserEvents ¶
func (*Queries) CountUserProjects ¶
func (*Queries) DeleteEvent ¶
func (*Queries) DeleteProject ¶
func (*Queries) EventByUUID ¶
func (*Queries) EventsByAscOffsetLimit ¶
func (*Queries) EventsByDescOffsetLimit ¶
func (*Queries) EventsByTagsAscOffsetLimit ¶
func (*Queries) EventsByTagsDescOffsetLimit ¶
func (*Queries) InsertEvent ¶
func (*Queries) InsertProject ¶
func (*Queries) InsertUser ¶
func (*Queries) ProjectByUUID ¶
func (*Queries) ProjectsByAscOffsetLimit ¶
func (*Queries) ProjectsByDescOffsetLimit ¶
func (*Queries) ProjectsByTagsAscOffsetLimit ¶
func (*Queries) ProjectsByTagsDescOffsetLimit ¶
func (*Queries) UpdateEvent ¶
func (*Queries) UpdateProject ¶
func (*Queries) UserByGithubEmail ¶
func (*Queries) UserByUUID ¶
func (*Queries) UserEventsByAscOffsetLimit ¶
func (*Queries) UserEventsByDescOffsetLimit ¶
func (*Queries) UserProjectsByAscOffsetLimit ¶
func (*Queries) UserProjectsByDescOffsetLimit ¶
type UpdateEventParams ¶
type UpdateProjectParams ¶
Click to show internal directories.
Click to hide internal directories.