blob: 8f514f754116e88d8287debc3db18ec44292336c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
// Used to show the landing page of the application
package home
import (
"glsamaker/pkg/app/handler/authentication/utils"
"net/http"
)
// Show renders a template to show the landing page of the application
func Show(w http.ResponseWriter, r *http.Request) {
user := utils.GetAuthenticatedUser(r)
renderHomeTemplate(w, user)
}
|