The Go Programming Language
The Go Programming Language
Donovan, Alan A. a.
product information
Condition: New, UPC: 9780134190440, Publication Date: Sun, November 1, 2015, Type: Paperback ,
join & start selling
description
e to writing clear and idiomatic Go to solve real-world problems

Google's Go team member Alan A. A. Donovan and Brian Kernighan, co-author of The C Programming Language, provide hundreds of interesting and practical examples of well-written Go code to help programmers learn this flexible, and fast, language. It is designed to get you started programming with Go right away and then to progress on to more advanced topics.

  • Basic components: an opening tutorial provides information and examples to get you off the ground and doing useful things as quickly as possible. This includes:
    • command-line arguments
    • gifs
    • URLs
    • web servers
  • Program structure: simple examples cover the basic structural elements of a Go program without getting sidetracked by complicated algorithms or data structures.
  • Data types: Go offers a variety of ways to organize data, with a spectrum of data types that at one end match the features of the hardware and at the other end provide what programmers need to conveniently represent complicated data structures.
  • Composite types:
    • arrays
    • slices
    • maps
    • structs
    • JSON
    • test and HTML templates
  • Functions: break a big job into smaller pieces that might well be written by different people separated by both time and space.
  • Methods:
    • declarations
    • with a pointer receiver
    • struct embedding
    • values and expressions
  • Interfaces: write functions that are more flexible and adaptable because they are not tied to the details of one particular implementation.
  • Concurrent programming: Goroutines, channels, and with shared variables.
  • Packages: use existing packages and create new ones.
  • Automated testing: write small programs that check the code.
  • Reflection features: update variables and inspect their values at run time.
  • Low-level programming: step outside the usual rules to achieve the highest possible performance, interoperate with libraries written in other languages, or implement a function that cannot be expressed in pure Go.

Each chapter has exercises to test your understanding and explore extensions and alternatives. Source code is freely available for download and may be conveniently fetched, built, and installed using the go get command.

reviews

Be the first to write a review

member goods

No member items were found under this heading.

notems store

Hikaru No Go, Volume 18: ...

by Hotta, Yumi

Paperback /Paperback

$8.49

The Vagina Book: An Owner's ...

by Conti, Jenn

Hardcover /Hardcover

$18.71

Dance Because You Can: 5 ...

by Jordan, Amy

Paperback /Paperback

$17.96

Come to the Lighthouse

by Houghton, Kathryn

Paperback /Paperback

$20.70

listens & views

THROWBACK POP

by MARTIN,KEVIN

COMPACT DISC

out of stock

$12.99

ROMANTISCHE ARIEN

by GERHAHER,CHRISTIAN

COMPACT DISC

out of stock

$16.99

LIFE AFTER DEFO

by DEPTFORD GOTH

VINYL LP

out of stock

$16.99

Return Policy

All sales are final

Shipping

No special shipping considerations available.
Shipping fees determined at checkout.