udemy-go-web-1/internal/config/config.go

16 lines
267 B
Go
Raw Normal View History

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
}