Learn Data Structures and Algorithms with Golang
上QQ阅读APP看书,第一时间看更新

The Create function

As shown in the following code, the Create function takes the writer and request parameters to render the Create template:

// Create - execute Template
func Create(writer http.ResponseWriter, request *http.Request) {

template_html.ExecuteTemplate(writer,"Create",nil)
}