April 2012
Intermediate to advanced
288 pages
4h 39m
English
It should come as no surprise that a language developed by a web giant should have a lot of standard library support for the Internet. The textproto package, for example, contains generic functionality for implementing protocols that work on a challenge-response basis, exchanging lines of text. These include SMTP, NNTP, HTTP, and so on.
Go is now usable in the Google App Engine, so it’s not surprising that developing web applications is one of the main reasons to choose Go. In this chapter, we’ll look at several of the features that allow you to integrate with the web.
5 type webCounter struct { 6 count chan int 7 } 8 func NewCounter() *webCounter { 9 counter ...
Read now
Unlock full access