16 lines
267 B
Go
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
|
|
}
|