Documentation ¶
Index ¶
- type Changelog
- type ChangelogSource
- type CreateChangelogParams
- type DBTX
- type DeleteChangelogParams
- type GetChangelogParams
- type GetChangelogRow
- type GhSource
- type ListChangelogsRow
- type NullSourceType
- type Queries
- func (q *Queries) CreateChangelog(ctx context.Context, arg CreateChangelogParams) (Changelog, error)
- func (q *Queries) DeleteChangelog(ctx context.Context, arg DeleteChangelogParams) error
- func (q *Queries) GetChangelog(ctx context.Context, arg GetChangelogParams) (GetChangelogRow, error)
- func (q *Queries) ListChangelogs(ctx context.Context, workspaceID string) ([]ListChangelogsRow, error)
- func (q *Queries) UpdateChangelog(ctx context.Context, arg UpdateChangelogParams) (Changelog, error)
- func (q *Queries) UpdateChangelogSource(ctx context.Context, arg UpdateChangelogSourceParams) error
- func (q *Queries) WithTx(tx pgx.Tx) *Queries
- type SourceType
- type UpdateChangelogParams
- type UpdateChangelogSourceParams
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChangelogSource ¶
type CreateChangelogParams ¶
type DeleteChangelogParams ¶
type GetChangelogParams ¶
type GetChangelogRow ¶
type GetChangelogRow struct { Changelog Changelog ChangelogSource ChangelogSource }
type ListChangelogsRow ¶
type ListChangelogsRow struct { Changelog Changelog ChangelogSource ChangelogSource }
type NullSourceType ¶
type NullSourceType struct { SourceType SourceType Valid bool // Valid is true if SourceType is not NULL }
func (*NullSourceType) Scan ¶
func (ns *NullSourceType) Scan(value interface{}) error
Scan implements the Scanner interface.
type Queries ¶
type Queries struct {
// contains filtered or unexported fields
}
func (*Queries) CreateChangelog ¶
func (*Queries) DeleteChangelog ¶
func (q *Queries) DeleteChangelog(ctx context.Context, arg DeleteChangelogParams) error
func (*Queries) GetChangelog ¶
func (q *Queries) GetChangelog(ctx context.Context, arg GetChangelogParams) (GetChangelogRow, error)
func (*Queries) ListChangelogs ¶
func (*Queries) UpdateChangelog ¶
func (*Queries) UpdateChangelogSource ¶
func (q *Queries) UpdateChangelogSource(ctx context.Context, arg UpdateChangelogSourceParams) error
type SourceType ¶
type SourceType string
const (
SourceTypeGitHub SourceType = "GitHub"
)
func (*SourceType) Scan ¶
func (e *SourceType) Scan(src interface{}) error
type UpdateChangelogParams ¶
type UpdateChangelogSourceParams ¶
type UpdateChangelogSourceParams struct { SourceID pgtype.Int8 SourceType NullSourceType WorkspaceID string ID int64 }
Click to show internal directories.
Click to hide internal directories.