1
0
mirror of https://github.com/schollz/cowyo.git synced 2023-08-10 21:13:00 +03:00

Whitespace

This commit is contained in:
Daniel Heath 2018-01-18 20:50:13 +11:00
parent 10d45b0c76
commit 2f1c0e3cd2

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"))