goblog/main.go

25 lines
373 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"`
}