Centralizing error handling to a helpers package
This commit is contained in:
		@ -2,6 +2,7 @@ package config
 | 
			
		||||
 | 
			
		||||
import (
 | 
			
		||||
	"html/template"
 | 
			
		||||
	"log"
 | 
			
		||||
 | 
			
		||||
	"github.com/alexedwards/scs/v2"
 | 
			
		||||
)
 | 
			
		||||
@ -11,5 +12,7 @@ type AppConfig struct {
 | 
			
		||||
	TemplateCahce map[string]*template.Template
 | 
			
		||||
	UseCache      bool
 | 
			
		||||
	InProduction  bool
 | 
			
		||||
	InfoLog       *log.Logger
 | 
			
		||||
	ErrorLog      *log.Logger
 | 
			
		||||
	Session       *scs.SessionManager
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user