MCPcopy Create free account
hub / github.com/devfullcycle/goexpert / CreateCourse

Method CreateCourse

18-UOW/internal/db/queries.sql.go:36–39  ·  view source on GitHub ↗
(ctx context.Context, arg CreateCourseParams)

Source from the content-addressed store, hash-verified

34}
35
36func (q *Queries) CreateCourse(ctx context.Context, arg CreateCourseParams) error {
37 _, err := q.db.ExecContext(ctx, createCourse, arg.ID, arg.Name, arg.CategoryID)
38 return err
39}

Callers

nothing calls this directly

Calls 1

ExecContextMethod · 0.65

Tested by

no test coverage detected