Whitespace

This commit is contained in:
Daniel Heath 2018-01-18 20:50:13 +11:00
parent 10d45b0c76
commit 2f1c0e3cd2
1 changed files with 12 additions and 1 deletions

View File

@ -22,7 +22,18 @@ var defaultLock string
var debounceTime int
var diaryMode bool
func serve(host, port, crt_path, key_path string, TLS bool, cssFile string, defaultPage string, defaultPassword string, debounce int, diary bool) {
func serve(
host,
port,
crt_path,
key_path string,
TLS bool,
cssFile string,
defaultPage string,
defaultPassword string,
debounce int,
diary bool,
) {
gin.SetMode(gin.ReleaseMode)
router := gin.Default()
store := sessions.NewCookieStore([]byte("secret"))