udemy-go-web-1/internal/config/config.go
2024-06-30 16:41:46 +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
}