This is a created article in which the information may have evolved or changed.
Recently learning the Go language, go language as a relatively new emerging language not only in the grammar design concept and compile, execution speed of their own unique, but also have better support for concurrency, and easier to implement a network software development. So I followed "build Web application with Golang", an e-book that was updated on GitHub and learned the technology to use the go language to develop Web software.
I have studied some web-related developments before, including building a simple website on lamp basis, and using Python to implement a small program that uses sockets. Go language in the development of B/s architecture software is the production of Web site type software is very different from the use of PHP, PHP as a scripting language and HTML interaction is very convenient, a piece of code can contain both HTML and PHP language code, and can seamlessly cross, HTML code generation is given to the PHP interpreter, which is then handed to the user by Apache. And the go language does not need Apache such an existing server software support, page generation and interaction with the user by the GO program itself to achieve, the advantage is that the implementation of more efficient, go itself is very efficient operation, And after abandoning Apache, it reduces the need to calculate the interaction, and does not require pre-environment configuration to directly use the Go language to write Web software. The downside is that the development process is less convenient and faster than PHP, and requires more design considerations.