udemy-go-web-1/pkg/config/config.go
2024-06-28 15:30:00 +02:00

16 lines
267 B
Go

package config
import (
"html/template"
"github.com/alexedwards/scs/v2"
)
// AppConfig holds the application config
type AppConfig struct {
TemplateCahce map[string]*template.Template
UseCache bool
InProduction bool
Session *scs.SessionManager
}