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

Storing DIffs now...might not be compatible?

This commit is contained in:
Zack Scholl
2016-02-07 18:31:47 -05:00
parent 2134f25d3a
commit 965989530c
7 changed files with 80 additions and 31 deletions

View File

@ -55,10 +55,14 @@ Options:`)
defer Close()
// Default page
p := CowyoData{"about", about_page}
p.save()
p := CowyoData{"about", about_page, []string{}, []string{}}
p.save(about_page)
fmt.Println(about_page)
var q CowyoData
q.load("SpikySeaSlug")
rebuildTexts(q)
r := gin.Default()
r.LoadHTMLGlob("templates/*")
r.GET("/", newNote)