Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( UpdateFormTmplFile = "update_form.gohtml" DefaultUpdateFormOpts = UpdateFormOpts{ Genders: []string{"Male", "Female"}, Levels: []string{"1. Freshman", "2. Sophomore", "4. Senior", "3. Junior"}, States: []string{"CA", "SD", "NC", "WI", "MD", "NE", "MA", "FL", "SC", "AK", "NY", "NH", "RI"}, Majors: []string{"English", "Math", "Art", "Physics"}, Activities: []string{"Drama Club", "Lacrosse", "Basketball", "Baseball", "Debate", "Track & Field"}, } )
Functions ¶
This section is empty.
Types ¶
type UpdateCntrl ¶
func NewUpdateCntrl ¶
func NewUpdateCntrl(repo repo.StudentRepo, tmpl *template.Template) UpdateCntrl
type UpdateFormOpts ¶
type UpdateFormTmplData ¶
Click to show internal directories.
Click to hide internal directories.