先从 hello world开始 关于web的开发知识,其实绕不过astaxie(beego作者)写的 build-web-application-with-golang 。我开发公司的beego项目之前看了一遍,现在再次拜读。 用http服务要引入net/http包。 我们看下那个启动http服务的方法是哪个。 func ListenAndServe(addr string, handler Handler) erro...
先从 hello world开始 关于web的开发知识,其实绕不过astaxie(beego作者)写的 build-web-application-with-golang 。我开发公司的beego项目之前看了一遍,现在再次拜读。 用http服务要引入net/http包。 我们看下那个启动http服务的方法是哪个。 func ListenAndServe(addr string, handler Handler) erro...