© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2022
R. Hussain, M. ZulfiqarBeginning Go Programminghttps://doi.org/10.1007/978-1-4842-8858-0_9

9. Tricks and Handy Tips

Rumeel Hussain1   and Maryam Zulfiqar2
(1)
Dubai, United Arab Emirates
(2)
Lahore, Pakistan
 

This chapter provides a few hacks and shortcuts that can help you get your hands around the Go programming language much more effectively and easily. These tips and tricks are related to different aspects of the Go programming language, including packages, imports, data types, and more.

Importing Packages

Other than the usual way of importing packages into your Go program, there are also some other alternative ways to achieve this goal. The following example ...

Get Beginning Go Programming: Build Reliable and Efficient Applications with Go now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.