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

Struct Course

13-GraphQL/internal/database/course.go:9–15  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7)
8
9type Course struct {
10 db *sql.DB
11 ID string
12 Name string
13 Description string
14 CategoryID string
15}
16
17func NewCourse(db *sql.DB) *Course {
18 return &Course{db: db}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected