MCPcopy Index your code
hub / github.com/coder/coder / GetLicenseByID

Method GetLicenseByID

coderd/database/dbauthz/dbauthz.go:3637–3639  ·  view source on GitHub ↗
(ctx context.Context, id int32)

Source from the content-addressed store, hash-verified

3635}
3636
3637func (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
3641func (q *querier) GetLicenses(ctx context.Context) ([]database.License, error) {
3642 fetch := func(ctx context.Context, _ interface{}) ([]database.License, error) {

Callers

nothing calls this directly

Calls 1

fetchFunction · 0.70

Tested by

no test coverage detected