img

Golang Programming for Beginners

Learn the Go Programming Language from scratch
  • Beginner
  • Online Classes
  • Total 15 hours in class
  • Golang Programming for Beginners
  • Multi-Day Course
  • 1-6 learners per class

Requirements

No existing knowledge of Golang programming is required. Familiarity with any programming language is helpful but not required. You should have basic computing knowledge.

Class Details

This structured curriculum will provide students with a comprehensive understanding of Go programming, from the basics to more advanced topics.

Course Outline

  1. Introduction to Go
    • Go installation
    • Why Go?
    • Hello, World Program
    • Command-Line Arguments
    • Setting up Go ecosystem
    • Basic Syntax
  2. Program Structure
    • Names
    • Declarations
    • Variables
    • Assignments
    • Type Declarations
    • Packages and Files
    • Scope
  3. Basic Data Types
    • Integers
    • Floating-Point Numbers
    • Complex Numbers
    • Booleans
    • Strings
    • Constants
  4. Flow Control Statements
    • For loop
    • If statements
    • Else statements
    • Switch statements
    • Defer statements
  5. Composite Types
    • Arrays
    • Slices
    • Maps
    • Structs
  6. Functions
    • Function Declarations
    • Recursion
    • Multiple Return Values
    • Errors
    • Function Values
    • Anonymous Functions
    • Variadic Functions
    • Deferred Function Calls
    • Panic
    • Recover
  7. Methods
    • Method Declarations
    • Methods with a Pointer Receiver
    • Composing Types by Struct Embedding
    • Method Values and Expressions
    • Encapsulation
  8. Interfaces
    • Interfaces as Contracts
    • Interface Types
    • Interface Satisfaction
    • Parsing Flags with a flag value
    • Interface Values
    • Example: Expression Evaluator
    • Type Assertions
    • Type Switches
  9. Goroutines and Channels
    • Goroutines
    • Channels
    • Looping in Parallel
    • Multiplexing with select
    • Cancellation
  10. Packages and the Go Tool
    • Introduction
    • Import Paths
    • The Package Declaration
    • Import Declarations
    • Blank Imports
    • Packages and Naming
    • The Go Tool
  11. Testing
    • The go test Tool
    • Test Functions
    • Coverage

Tutors

user

Shekar M

Professional Senior Software Engineer and tutor over 7 years
Embark on a journey into Golang with a seasoned programmer of 7 years. Join me in mastering this versatile language and kickstart your coding odyssey!...
View More...

Subscribe to our newsletter

Sign up for our newsletter, so you can be the first to find out the latest news and tips about our classes, as well as general updates throughout the year.