August 2016
Beginner to intermediate
665 pages
14h 11m
English
In your $GOPATH/src folder, alongside other projects, create a new folder called socialpoll for this chapter. This folder won't be a Go package or program by itself, but will contain our three component programs. Inside socialpoll, create a new folder called twittervotes and add the obligatory main.go template (this is important as main packages without a main function won't compile):
package main
func main(){}Our twittervotes program is going to:
mgo, and collect all options from the options array in each documentRead now
Unlock full access