Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DB ¶
type DB interface { Exec(context.Context, string, ...any) (pgconn.CommandTag, error) Query(context.Context, string, ...any) (pgx.Rows, error) QueryRow(context.Context, string, ...any) pgx.Row Prepare(ctx context.Context, name, sql string) (sd *pgconn.StatementDescription, err error) }
DB is the common interface for database operations.
type Repo ¶
type Repo struct {
// contains filtered or unexported fields
}
func (*Repo) GetTableNameByID ¶
Click to show internal directories.
Click to hide internal directories.