gochart/main.go

15 lines
213 B
Go
Raw Normal View History

package main
2014-12-26 20:25:03 +08:00
import (
"log"
)
const start = `version: 1.0
http://localhost:8000`
func main() {
2014-12-26 20:25:03 +08:00
log.SetFlags(log.Lshortfile | log.Ldate | log.Ltime)
2014-12-26 21:24:29 +08:00
println(start)
println(ListenAndServe(":8000").Error())
}