goblog/main.go

25 lines
373 B
Go
Raw Permalink Normal View History

package main
import (
2018-11-04 13:22:36 +01:00
"time"
//"fmt"
)
var messages []*string
func main() {
initializeDatabase()
startServer()
//listener, err = net.Listen("socket", "/tmp/
2018-11-04 13:22:36 +01:00
}
type BlogPost struct {
Id int64 `"id"`
2018-11-04 13:22:36 +01:00
Content string `"content"`
Author string `"author"`
Secret string `"secret"`
Time time.Time `"time"`
FTime string `"ftime"`
}