(ctx context.Context, id int32)
| 3635 | } |
| 3636 | |
| 3637 | func (q *querier) GetLicenseByID(ctx context.Context, id int32) (database.License, error) { |
| 3638 | return fetch(q.log, q.auth, q.db.GetLicenseByID)(ctx, id) |
| 3639 | } |
| 3640 | |
| 3641 | func (q *querier) GetLicenses(ctx context.Context) ([]database.License, error) { |
| 3642 | fetch := func(ctx context.Context, _ interface{}) ([]database.License, error) { |