Abstract
In this chapter, I begin to describe the Go language, focusing on the basic data types before moving on to how they are used to create constants and variables. I also introduce the Go support for pointers. Pointers can be a source of confusion, especially if you are coming to Go from languages such as Java or C#, and I describe how Go pointers work, demonstrate why they can be useful, and explain why they are not to be feared.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2022 The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature
About this chapter
Cite this chapter
Freeman, A. (2022). Basic Types, Values, and Pointers. In: Pro Go. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-7355-5_4
Download citation
DOI: https://doi.org/10.1007/978-1-4842-7355-5_4
Published:
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4842-7354-8
Online ISBN: 978-1-4842-7355-5
eBook Packages: Professional and Applied ComputingProfessional and Applied Computing (R0)Apress Access Books