goblog/main.go
kageru 99d20cf1f6
Made template prettier
Also more formatting for the output. This is now actually usable.
2018-11-04 22:05:48 +01:00

26 lines
400 B
Go

package main
import (
"time"
//"fmt"
)
var messages []*string
func main() {
initializeDatabase()
startServer()
//listener, err = net.Listen("socket", "/tmp/
}
type BlogPost struct {
Id int64 `"id"`
Content string `"content"`
Title string `"title"`
Author string `"author"`
Secret string `"secret"`
Time time.Time `"time"`
FTime string `"ftime"`
}