Jump to ratings and reviews
Rate this book

Mastering Go Web Services

Rate this book
Mastering Go Web Services

320 pages, Paperback

First published April 14, 2015

6 people are currently reading
8 people want to read

About the author

Nathan Kozyra

6 books4 followers

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
1 (7%)
4 stars
3 (21%)
3 stars
2 (14%)
2 stars
4 (28%)
1 star
4 (28%)
Displaying 1 - 4 of 4 reviews
Profile Image for Matthew.
23 reviews3 followers
January 1, 2016
Like other Packt Pub books I've read, Mastering Go Web Services could benefit from more editing. The examples are hard to follow as compared to a Manning or O'Reilly book, which tend to clearly identify what code belongs in which file. Additionally, the code in the book doesn't appear to match the provided source code. As an example, the code in the
func Init()
on page 152 of the book differs from the source code:

- Book on p. 152:
for _, domain := range PermittedDomains {

- Source Code:
for _, domain := range allowedDomains {


Another example of additionally editing being needed is in the summary of chapter 8.

In the next chapter we'll dive in deeper with API planning and design, the nitty- gritty of RESTful services, and look at how we can separate our logic from our output. We'll briefly touch on some logic/view separation concepts and move toward more robust endpoints and methods in Chapter 3, Routing and Bootstrapping.


The next chapter—chapter 9—is about deployment not routing and bootstrapping.
Profile Image for Pratik Luitel.
18 reviews11 followers
April 7, 2022
0.5 stars.
Shockingly bad.
Most things here are horribly outdated as of 2022 (doesn't look like the book has gone through any revision at all), the directions given are lackluster at best, many topics are left half explained, the SQL written is vulnerable to injection, I don't think a single line of code written went through proper review. The entire book is littered with bad practice.
I don't regret buying many books - I definitely regretted getting this one. Don't buy this.
379 reviews10 followers
November 1, 2015
Confusionario, scritto male, incompleto: i tre aggettivi che lo descrivono meglio.

Alcune parti sembrano scritte da un'altra persona (o anni prima). L'impressione è che nemmeno l'autore abbia ben chiaro cosa sta spiegando, e che a volte si arrampichi sugli specchi.

Alcune descrizioni sono senza senso. Una per tutte:

Anytime you see data within the grave accent (`) characters, this represents a rune. Altough a string is represented in double quotes and a char in single, the accent represents Unicode data that should remain constant. Technically, this content is held in a int32 value.

Mi piacerebbe conoscere l'algoritmo di compressione che salva `json:"name"` in soli 32bit...
Ma il bello è che la "spiegazione" (tra virgolette, perché non lo spiega affatto) di cosa siano quelle parti tra accenti gravi, la dà dopo averli usati per 4 capitoli.

Tralasciando poi le SQL-injection ("parleremo di sicurezza nell'ultimo capitolo"...), i bug nel codice, i nomi delle variabili che a volte sono diversi tra codice e testo, il "dimenticarsi" in quale file vada scritto un pezzo di codice, e mille altre sviste.

Eccezionale l'articolo sul deploy che non dice quasi niente, ma che spiega la struttura del progetto (che avrebbe dovuto essere al capitolo 1), e quello che spiega AMQP in 4 pagine.
Profile Image for Roustem.
17 reviews21 followers
May 3, 2015
Useful

Good and practical overview of building web apps in Go. I found a few chapters I could apply right away.
Displaying 1 - 4 of 4 reviews

Can't find what you're looking for?

Get help and learn more about the design.