biospringxyz (89) [Avatar] Offline
#1
The 1st paragraph after Listing 1 says:

Create a sub-directory in your workspace src directory and name it first_webapp. Now go to that sub-directory and create a file named server.go. This will be your source file. Then from a console (or command line interface or command prompt), execute this command:


Since it is not mentioned that the content of the file, server.go, should be that of Listing 1, the following line:

$ go install first_webapp


ends up with an error message.

Perhaps the paragraph should mention, if it is the authors' intention, that the server.go file shall contain the code from Listing 1?