主题:【原创】介绍一下Go语言(1)之前的话 -- zllwy
共:💬92 🌺231
A simple web server:
package main import ( "fmt" "http" ) func handler(c *http.Conn, r *http.Request) { fmt.Fprintf(c, "Hello, %s.", r.URL.Path[1:]) } func main() { http.ListenAndServe(":8080", http.HandlerFunc(handler)) }
- 相关回复 上下关系8
🙂【原创】介绍一下Go语言(1)之前的话 62 zllwy 字1791 2011-01-19 23:37:09
🙂Simplicity of Go
🙂Mere syntactic sugar 1 吹西门的雪 字433 2011-01-29 01:14:46
🙂你说得也没错 zllwy 字448 2011-01-29 01:27:50
🙂You didn't get my point 1 吹西门的雪 字923 2011-01-29 02:48:19