Documentation
¶
Index ¶
Constants ¶
View Source
const ( Beginner = "beginner" Intermediate = "intermediate" Advanced = "advanced" Expert = "expert" )
View Source
const Config = `twitter: {{.Twitter}}
author: {{.Author}}
email: {{.Email}}
moduledir: {{.ModuleDir}}
coursedir: {{.CourseDir}}
`
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Course ¶
type Course struct { Name string `json:"name"` ShortName string `json:"short_name"` Instructor string `json:"instructor"` InstructorEmail string `json:"instructor_email"` InstructorTwitter string `json:"instructor_twitter"` OutputDirectory string `json:"output_directory"` Secret string `json:"secret"` Socket string `json:"socket"` Modules []*Module `json:"modules"` }
type Lesson ¶
type Lesson struct { ShortName string `json:"short_name"` Description string `json:"description"` Topic string `json:"topic"` Author string `json:"author"` AuthorEmail string `json:"author_email"` AuthorTwitter string `json:"author_twitter"` }
func (Lesson) NumberedPath ¶
type Module ¶
type Module struct { ShortName string `json:"short_name"` Description string `json:"description"` Topic string `json:"topic"` Level Level `json:"level"` Author string `json:"author"` AuthorEmail string `json:"author_email"` AuthorTwitter string `json:"author_twitter"` SourceRepository string `json:"source_repository"` Lessons []*Lesson `json:"lessons"` }
func (Module) NumberedPath ¶
Click to show internal directories.
Click to hide internal directories.