Documentation ¶
Index ¶
- Constants
- type DBTX
- type FlywaySchemaHistory
- type Hellokv
- type Queries
- func (q *Queries) Get(ctx context.Context, key string) (Hellokv, error)
- func (q *Queries) GetLatestSchema(ctx context.Context) (sql.NullString, error)
- func (q *Queries) GetSupportedSchemaVersion() string
- func (q *Queries) Set(ctx context.Context, arg SetParams) (Hellokv, error)
- func (q *Queries) WithTx(tx *sql.Tx) *Queries
- type SetParams
Constants ¶
View Source
const SchemaVersion = "1.0.0"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FlywaySchemaHistory ¶
type Hellokv ¶
type Hellokv struct { Key string Value sql.NullString }
type Queries ¶
type Queries struct {
// contains filtered or unexported fields
}
func (*Queries) GetLatestSchema ¶
func (*Queries) GetSupportedSchemaVersion ¶
type SetParams ¶
type SetParams struct { Key string Value sql.NullString }
Click to show internal directories.
Click to hide internal directories.