func main() { http.Handle("/useless", websocket.Handler(func(ws *websocket.Conn) { ws.Write([]byte(useless.Foobar())) })) http.ListenAndServe(":3000", nil) }
// Test runs a simple test using the class useless package // so that we're sure that the goers package is available. func Test() { fmt.Println(useless.Foobar()) }