| 7 | ) |
| 8 | |
| 9 | type Course struct { |
| 10 | db *sql.DB |
| 11 | ID string |
| 12 | Name string |
| 13 | Description string |
| 14 | CategoryID string |
| 15 | } |
| 16 | |
| 17 | func NewCourse(db *sql.DB) *Course { |
| 18 | return &Course{db: db} |
nothing calls this directly
no outgoing calls
no test coverage detected