You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
373 B
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"`
|
|
Author string `"author"`
|
|
Secret string `"secret"`
|
|
Time time.Time `"time"`
|
|
FTime string `"ftime"`
|
|
}
|
|
|