Refactoring for Gin, NoSurf and SCS continues.
This commit is contained in:
11
internal/handlers/template/render.go
Normal file
11
internal/handlers/template/render.go
Normal file
@@ -0,0 +1,11 @@
|
||||
package handlers
|
||||
|
||||
import "synlotto-website/internal/platform/config"
|
||||
|
||||
type Handler struct {
|
||||
cfg config.Config
|
||||
}
|
||||
|
||||
func New(cfg config.Config) *Handler {
|
||||
return &Handler{cfg: cfg}
|
||||
}
|
||||
Reference in New Issue
Block a user