Learn GO by Building Three Simple Golang Projects

Video description

According to many industry experts, Golang is the most important skill to learn in 2022 as more and more companies are using it to build awesome technology - from infrastructure technologies to microservices to serverless programs powering entire SAAS products.

In this course, you will first start with understanding the GO language and its use cases. You will look at basic concepts such as structs, if else, slices, logical operators, floats and calculations, struct methods, loops/range, functions and many more while working on the project—Nutrition calculator. You will then work on Google Trends where you will be working with XML, defining XML data, Get/read Google Trends function, Unmarshal function, printing the trends, and much more.

Finally, you will be working on the project titled Google Translate where you will be learning advanced topics and concepts such as concurrency and parallelism, sequential processing, go-routines, channels, creating queries, parsing JSON, and many more.

By the end of this course, you will be able to approach building new projects with Golang with a better toolset. You will also have built three awesome real-world projects that you can show on your resume to get selected in interviews, use the base code to create other projects, and build a better and deeper knowledge of GO.

What You Will Learn

  • Look at the basic overview of GO and the course’s planned trajectory
  • Learn about structs, slices, packages and libraries before using them
  • Look at the briefing before starting any project
  • Work around on a project – Nutrition calculator
  • Execute and build project on Google Trends
  • Work around on a project of Google Translate

Audience

This course is designed for beginner Golang developers wanting to learn a bit more by building simple to complex projects. Existing developers from other languages wanting to learn Golang will gain a lot from this course.

A very basic Golang knowledge (should have completed the tour of Golang) along with Golang setup on the machine are the only requirements to get started with this course.

About The Author

Akhil Sharma: Akhil Sharma is a Software Engineer and an entrepreneur. He is the CTO of Dominate.io, a SaaS product company, and the founder of Myrl.tech, a tech services company providing technology consulting to some of the top enterprise companies in the world such as HP, 3M, Honda, Bose, and Adobe. He has 12+ years of industry experience and a solid understanding of building digital products. He is adept at multiple programming languages such as Golang, Rust, Ruby, Python, and JavaScript.

He has mentored hundreds of engineers offline and discovered that they knew the programming language and the concepts around it but were unable to use them in real-world applications. He aims to close this gap by teaching how to apply the concepts practically and build projects in real time.

Table of contents

  1. Chapter 1 : Introduction to the Course
    1. Introduction
    2. About the Instructor
    3. Connect with the Author
    4. Tips on Learning Faster as an Engineer
    5. What We Will Be Building
    6. A Caveat
  2. Chapter 2 : First Project – Nutrition Calculator
    1. Concepts That Will Be Used
    2. Project Briefing – What We Will Track
    3. Project Briefing - Scores and Score Types
    4. Project Briefing - Units
    5. Project Briefing - Nutritional Data
    6. Project Plan
    7. Project Setup
    8. The Main File
    9. Nutritional Score and Other Types
    10. Nutritional Data Struct
    11. The Get Nutritional Score Function
    12. Get Points Methods
    13. Energy and Sodium Methods
    14. Points System
    15. Slices for Steps/ Points
    16. Get Points from Range Function
    17. Energy, Sugar and Points
    18. Points for Sfa, Sodium, Protein, Fiber
    19. Fruit Points
    20. Handling Cheese and Beverage
    21. The Nutri Score Grade
    22. Quick Revision
    23. Running the Program
  3. Chapter 3 : Second Project – Google Trends Project
    1. Project Briefing – What We will Build
    2. A Caveat
    3. The XML File
    4. The Golang Concepts We Will Apply
    5. Visual Planning
    6. Project Setup
    7. Basic Project Structure
    8. Items and News Structs
    9. Visuals for Better Understanding of the Structs
    10. RSS and Channel Structs
    11. Data Types for the Struct Variables
    12. The Red Squiggly Lines
    13. Working with XML
    14. Defining XML Data
    15. Get Google Trends Function
    16. Read Google Trends Function
    17. Unmarshalling - Visual Explanation
    18. The Unmarshal Function
    19. Printing the Trends
    20. Testing the Program
    21. Real-World Applications of This Project
  4. Chapter 4 : Third Project – Google Translate Project
    1. What We Are Building
    2. Our Plan
    3. The Complication
    4. The Solution
    5. Concurrency or Parallelism?
    6. Sequential Processing
    7. Parallelism
    8. Concurrency
    9. Go-Routines
    10. Channels
    11. Without WaitGroups
    12. With WaitGroups
    13. Main File
    14. CLI File
    15. Introducing Complexity
    16. Referring the Diagram
    17. Creating Our Query
    18. Parsing JSON
    19. Mod Files
    20. Running Our Program
  5. Chapter 5 : Next Steps
    1. Getting More Advanced in GO
    2. Goodbye and Thank You

Product information

  • Title: Learn GO by Building Three Simple Golang Projects
  • Author(s): Akhil Sharma
  • Release date: October 2022
  • Publisher(s): Packt Publishing
  • ISBN: 9781804613214