Archived
Template
1
0

Adds godoc comments

This commit is contained in:
uberswe
2022-01-09 14:22:43 +01:00
parent 2d3c0df4e5
commit 8c37faf016
30 changed files with 154 additions and 68 deletions

View File

@ -8,11 +8,13 @@ import (
"net/http"
)
// SearchData holds additional data needed to render the search HTML page
type SearchData struct {
PageData
Results []models.Website
}
// Search renders the search HTML page and any search results
func (controller Controller) Search(c *gin.Context) {
pd := SearchData{
PageData: PageData{