Documentation ¶
Index ¶
- func InitDB(path string)
- type DBTX
- type GithubUser
- type Queries
- func (q *Queries) CreateGithubUser(ctx context.Context, name string) (GithubUser, error)
- func (q *Queries) DeleteGithubUser(ctx context.Context, id int64) error
- func (q *Queries) GetGithubUser(ctx context.Context, name string) (GithubUser, error)
- func (q *Queries) ListGithubUsers(ctx context.Context) ([]GithubUser, error)
- func (q *Queries) UpdateGithubUser(ctx context.Context, arg UpdateGithubUserParams) (GithubUser, error)
- func (q *Queries) WithTx(tx *sql.Tx) *Queries
- type UpdateGithubUserParams
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type GithubUser ¶
type Queries ¶
type Queries struct {
// contains filtered or unexported fields
}
func (*Queries) CreateGithubUser ¶
func (*Queries) DeleteGithubUser ¶
func (*Queries) GetGithubUser ¶
func (*Queries) ListGithubUsers ¶
func (q *Queries) ListGithubUsers(ctx context.Context) ([]GithubUser, error)
func (*Queries) UpdateGithubUser ¶
func (q *Queries) UpdateGithubUser(ctx context.Context, arg UpdateGithubUserParams) (GithubUser, error)
type UpdateGithubUserParams ¶
Click to show internal directories.
Click to hide internal directories.