示例#1
0
func init() {
	print("Starting test server with test users...\n")
	cloud.Populate()
	go cloud.Serve()
	time.Sleep(100 * time.Millisecond)
	print("Done.\n")
}
示例#2
0
func main() {
	print("API enabled @ port 8080\n")
	cloud.Populate() // Test users
	cloud.Serve()
}