Get Programming with Go
Get Programming with
Go
Nathan Youngman
Roger Peppé
MANNING
Shelter Island
For online information and ordering of this and other Manning books, please visit
www.manning.com. The publisher offers discounts on this book when ordered in quantity. For
more information, please contact
Special Sales Department
Manning Publications Co.
20 Baldwin Road
PO Box 761
Shelter Island, NY 11964
Email: orders@manning.com
©2018 by Manning Publications Co. All rights reserved.
No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in
any form or by means electronic, mechanical, photocopying, or otherwise, without prior
written permission of the publisher.
Many of the designations used by manufacturers and sellers to distinguish their products are
claimed as trademarks. Where those designations appear in the book, and Manning
Publications was aware of a trademark claim, the designations have been printed in initial caps
or all caps.
The Go Gopher is © 2009 Renée French and used under Creative Commons Attributions 3.0
license.
Original illustrations by Olga Shalakhina are © 2015 Olga Shalakhina and used by permission.
Original illustrations by Erick Zelaya are © 2018 Erick Zelaya and used by permission.
Recognizing the importance of preserving what has been written, it is Manning’s policy to have
the books we publish printed on acid-free paper, and we exert our best efforts to that end.
Recognizing also our responsibility to conserve the resources of our planet, Manning books are
printed on paper that is at least 15 percent recycled and processed without the use of elemental
chlorine.
Acquisition editor: Michael Stephens
Development editors: Jenny Stout, Marina Michaels
Technical development editors: Matthew Merkes, Joel Kotarski
Review editor: Aleksandar Dragosavljevic´
Project editor: David Novak
Copyeditor: Corbin Collins
Proofreaders: Melody Dolab, Elizabeth Martin
Technical proofreader: Christopher Haupt
Typesetter: Dottie Marsico
Graphics: Olga Shalakhina, Erick Zelaya, April Milne
Cover designer: Monica Kamsvaag
Manning Publications Co.
20 Baldwin Road
PO Box 761
Shelter Island, NY 11964
ISBN 9781617293092
Printed in the United States of America
1 2 3 4 5 6 7 8 9 10 – DP – 23 22 21 20 19 18