Chapter 1 ◾ Crash Course in GoLang
IS IT REFERRED TO AS Go OR GoLang?
WHAT IS THE PURPOSE OF GoLang?
WHY IS Go SO POPULAR?
SHOULD WE STUDY Go?
Go PROGRAMMING FEATURES
WHAT MAKES GoLang SUPERIOR TO OTHER COMPUTER LANGUAGES?
BEGINNING WITH Go
INSTALL Go ON WINDOWS
WRITING THE FIRST Go PROGRAM
TERMINAL
INSTALL Go ON Mac
HOW CAN WE CREATE AN EMPTY FILE IN GoLang?
HOW TO MAKE A DIRECTORY IN Go
HOW TO READ AND WRITE A Go PROGRAM
HOW DO WE RENAME AND TRANSFER A FILE IN GoLang?
HOW TO READ A FILE LINE BY LINE AND CONVERT
IT TO A STRING
BASIC SYNTAX
DATA TYPES IN Go
VARIABLES IN Go
CONSTANTS
VARIABLE SCOPE IN Go
DECLARATION OF MULTIPLE VARIABLES
SHORTHAND DECLARATION
OPERATORS IN Go
CONTROL STATEMENTS
SWITCH STATEMENT
ARRAYS
SLICES
STRING
MAPS
WHAT IS A BLANK IDENTIFIER (underscore)?
DEFER KEYWORD
PANIC IN GoLang
RECOVER
CLOSURES
RECURSION
POINTERS
GoLang STRUCTURES
GoLang’s NESTED STRUCTURE
GoLang METHODS
INTERFACES
INHERITANCE
POLYMORPHISM USING INTERFACES
Chapter 2 ◾ Test-Driven Development
DEVELOPING A NEW PROJECT
MAKING Go FILES
RUN TESTS
A TEST THAT FAILED
THE FUNCTION BEING TESTED
WRITING A TEST-FIRST FUNCTION
REFACTORING Go WITH Go/ANALYSIS
REFACTORING OUR FIRST Go CODE
GoLang ERROR HANDLING
WRITE UNIT TESTING IN Go
Chapter 3 ◾ Packaging in GoLang
PACKAGES IN GoLang
DEPENDENCY MANAGEMENT
Chapter 4 ◾ Handling Concurrency
CONCURRENCY
Goroutines – CONCURRENCY IN GoLang
MULTIPLE Goroutines
COMMUNICATE TO SHARE MEMORY
HOW TO USE Goroutines TO ACCESS SHARED RESOURCES
Chapter 5 ◾ GoLang for JavaScript Developers
FLOW CONTROL
TYPES
HOW DO YOU MAKE MODULES IN GoLang?
PACKAGE MANAGEMENT USING Go MODULES
ERROR HANDLING
IN GoLang, THERE ARE SEVERAL TECHNIQUES TO COMPARE STRINGS
FUNCTIONS IN Go
FUNCTION RETURNING MULTIPLE VALUES
VARIADIC FUNCTIONS
ANONYMOUS FUNCTION
GoLang main AND init FUNCTIONS
Chapter 6 ◾ Code Optimization
A PATTERN FOR OPTIMIZING Go
GoLang FOR SECURE CODING
BEST PRACTICES FOR GoLang
Chapter 7 ◾ GoLang Tutorials and Projects
WEB APPLICATION TO GENERATE QR CODE IN GoLang
SETTING UP THE Go HTTP CLIENT
WHAT IS THE GoLang REST API?
Go, also known as GoLang, is a Google-developed open-source, compiled, and statically typed computer language. Go is a general purpose programming language with a straightforward syntax and a large standard library. The building of highly accessible and scalable web apps is one of the primary areas where GoLang is widely used. It may also be used to develop command-line programs, desktop applications, and even mobile apps.
Go was designed from the ground up for networking and infrastructure-related applications. It was developed as a replacement for popular server-side languages like Java and C++. The Go programming language aims to combine the efficiency and safety of a statically typed, compiled language with the simplicity of programming of an interpreted, dynamically typed language. It also aspires to be cutting edge, with networked and multicore computer capabilities.
GoLang is becoming one of the most popular languages, which means that learning it can open up new doors of opportunity and even help you land a job at various companies that use Go extensively.
Ease of writing concurrent programs, fast compilation, simple syntax, and static linking are some of the features that make Go an ideal candidate for developing various applications.