Contents
Mastering GoLang
Mastering GoLang helps readers quickly understand the core concepts and then move on to practical projects using the Go programming language.
GoLang is often dubbed a game-changer in the world of programming languages. Instead of starting from scratch, Go was created using the C programming language. GoLang inherits Cs disciplined grammar but with specific tweaks and enhancements to properly manage memory. This lessens the memory leakage problems that developers tend to face with C.
Go borrows and adapts notions from various programming languages while skipping characteristics that result in complicated, insecure, and unpredictable code. Gos concurrency features are well-suited to build the infrastructure for gigantic projects such as networking systems and distributed hardware. Go is also often employed in domains such as visuals, mobile applications, and Machine Learning.
Even though GoLang is a relatively new language, it has been adopted by several major organizations owing to its benefits such as code clarity, custom libraries, adaptability, multithreading, and a simple build process. Because Go is gaining traction in the development community, learning GoLang can open up new avenues across various fields and career trajectories.
Since it is still a relatively newer language, quality literature pertaining to Go is often hard to find. However, this particular book covers all the bases that you might need, and is an ideal companion for beginner-level developers looking to master Go programming.
With Mastering GoLang, learning GoLang becomes an easy task, and learners can use their skills to create innovative projects.
The Mastering Computer Science series is edited by Sufyan bin Uzayr, a writer and educator with over a decade of experience in the computing field.
Mastering Computer Science
Series Editor: Sufyan bin Uzayr
Mastering GoLang: A Beginners Guide
Divya Sachdeva, D Nikitenko, and Aruqqa Khateib
Mastering GNOME: A Beginners Guide
Jaskiran Kaur, Mathew Rooney, and Reza Nafim
Mastering Flutter: A Beginners Guide
Divya Sachdeva, NT Ozman, and Reza Nafim
Mastering Vue.js: A Beginners Guide
Lokesh Pancha, Divya Sachdeva, and Faruq KC
Mastering Rust: A Beginners Guide
Divya Sachdeva, Faruq KC, and Aruqqa Khateib
Mastering Ubuntu: A Beginners Guide
Jaskiran Kaur, Rubina Salafey, and Shahryar Raz
For more information about this series, please visit: https://www.routledge.com/Mastering-Computer-Science/book-series/MCS
The Mastering Computer Science series of books are authored by the Zeba Academy team members, led by Sufyan bin Uzayr.
Zeba Academy is an EdTech venture that develops courses and content for learners primarily in STEM fields, and offers education consulting to Universities and Institutions worldwide. For more info, please visit https://zeba.academy
First Edition published 2023
by CRC Press
6000 Broken Sound Parkway NW, Suite 300, Boca Raton, FL 33487-2742
and by CRC Press
2 Park Square, Milton Park, Abingdon, Oxon, OX14 4RN
CRC Press is an imprint of Taylor & Francis Group, LLC
2023 Sufyan bin Uzayr
Reasonable efforts have been made to publish reliable data and information, but the author and publisher cannot assume responsibility for the validity of all materials or the consequences of their use. The authors and publishers have attempted to trace the copyright holders of all material reproduced in this publication and apologize to copyright holders if permission to publish in this form has not been obtained. If any copyright material has not been acknowledged please write and let us know so we may rectify in any future reprint.
Except as permitted under U.S. Copyright Law, no part of this book may be reprinted, reproduced, transmitted, or utilized in any form by any electronic, mechanical, or other means, now known or hereafter invented, including photocopying, microfilming, and recording, or in any information storage or retrieval system, without written permission from the publishers.
For permission to photocopy or use material electronically from this work, access
Trademark Notice: Product or corporate names may be trademarks or registered trademarks and are used only for identification and explanation without intent to infringe.
Library of Congress CataloginginPublication Data
Names: Bin Uzayr, Sufyan, editor.
Title: Mastering GoLang : a beginners guide / edited by Sufyan bin Uzayr.
Description: First edition. | Boca Raton : CRC Press, 2023. | Series: Mastering computer science series | Includes bibliographical references and index.
Identifiers: LCCN 2022021390 (print) | LCCN 2022021391 (ebook) | ISBN 9781032315911 (hardback) | ISBN 9781032315904 (paperback) | ISBN 9781003310457 (ebook)
Subjects: LCSH: Go (Computer program language)
Classification: LCC QA76.73.G63 M325 2023 (print) | LCC QA76.73.G63 (ebook) | DDC 005.13/3--dc23/eng/20220802
LC record available at https://lccn.loc.gov/2022021390
LC ebook record available at https://lccn.loc.gov/2022021391
ISBN: 9781032315911 (hbk)
ISBN: 9781032315904 (pbk)
ISBN: 9781003310457 (ebk)
DOI: 10.1201/9781003310457
Typeset in Minionby
by KnowledgeWorks Global Ltd.
Preface
The Mastering Computer Science covers a wide range of topics, spanning programming languages as well as modern-day technologies and frameworks. The series has a special focus on beginner-level content, and is presented in an easy-to-understand manner, comprising:
Crystal-clear text, spanning various topics sorted by relevance,
A special focus on practical exercises, with numerous code samples and programs,
A guided approach to programming, with step-by-step tutorials for the absolute beginners,
Keen emphasis on real-world utility of skills, thereby cutting the redundant and seldom-used concepts and focusing instead of industry-prevalent coding paradigm, and
A wide range of references and resources to help both beginner and intermediate-level developers gain the most out of the books.
The Mastering Computer Science series starts from the core concepts, and then quickly moves on to industry-standard coding practices, to help learners gain efficient and crucial skills in as little time as possible. The books of the series assume no prior knowledge of coding, so even the absolute newbie coders can benefit from them.
The Mastering Computer Science series is edited by Sufyan bin Uzayr, a writer and educator with more than a decade of experience in the computing field.
About the Author
Sufyan bin Uzayr is a writer, coder, and entrepreneur with over a decade of experience in the industry. He has authored several books in the past, pertaining to a diverse range of topics, ranging from History to Computers/IT.
Sufyan is the Director of Parakozm, a multinational IT company specializing in EdTech solutions. He also runs Zeba Academy, an online learning and teaching vertical with a focus on STEM fields.
Sufyan specializes in a wide variety of technologies such as JavaScript, Dart, WordPress, Drupal, Linux, and Python. He holds multiple degrees, including ones in Management, IT, Literature, and Political Science.
Sufyan is a digital nomad, dividing his time between four countries. He has lived and taught in universities and educational institutions around the globe. Sufyan takes a keen interest in technology, politics, literature, history, and sports, and in his spare time, he enjoys teaching coding and English to young students.