Documentation ¶
Index ¶
- Constants
- type Airdrop
- type AirdropsQ
- func (q *AirdropsQ) Delete(id string) error
- func (q *AirdropsQ) FilterByNullifier(nullifier string) *AirdropsQ
- func (q *AirdropsQ) FilterByStatuses(statuses ...string) *AirdropsQ
- func (q *AirdropsQ) Get() (*Airdrop, error)
- func (q *AirdropsQ) Insert(p Airdrop) (*Airdrop, error)
- func (q *AirdropsQ) Limit(limit uint64) *AirdropsQ
- func (q *AirdropsQ) New() *AirdropsQ
- func (q *AirdropsQ) Select() ([]Airdrop, error)
- func (q *AirdropsQ) Transaction(fn func() error) error
- func (q *AirdropsQ) Update(id string, values map[string]any) error
Constants ¶
View Source
const ( TxStatusPending = "pending" TxStatusInProgress = "in progress" TxStatusCompleted = "completed" TxStatusFailed = "failed" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AirdropsQ ¶
type AirdropsQ struct {
// contains filtered or unexported fields
}
func NewAirdropsQ ¶
func (*AirdropsQ) FilterByNullifier ¶
func (*AirdropsQ) FilterByStatuses ¶ added in v0.1.1
func (*AirdropsQ) Transaction ¶
Click to show internal directories.
Click to hide internal directories.