19 lines
328 B
Go
19 lines
328 B
Go
package config
|
|
|
|
import (
|
|
"html/template"
|
|
"log"
|
|
|
|
"github.com/alexedwards/scs/v2"
|
|
)
|
|
|
|
// AppConfig holds the application config
|
|
type AppConfig struct {
|
|
TemplateCahce map[string]*template.Template
|
|
UseCache bool
|
|
InProduction bool
|
|
InfoLog *log.Logger
|
|
ErrorLog *log.Logger
|
|
Session *scs.SessionManager
|
|
}
|