Golang Training
Course Overview
Golang Training by Sudaksha helps you to learn how to get started with golang, doing the initial environment setup, learning the structure of the go program, working on basic syntax, data types, constants, variables, etc. As you go deep into the concepts you’ll be introduced to decision making and looping statements, strings arrays, pointers and many more.
Go, which is also known as Golang is a popular programming language developed by google and the demand for go developers is increasing gradually. The average salary of a senior golang developer earns about $139,000 annually.
Audience
This course is best suited for individuals who know the basics of programming concepts and knowledge of C language.
Course Curriculum
1. Introduction to Golang
- Go Programming Features
- Excluded features
- Getting started with go programs
- Compile and execute go programs
2. Setting up the Environment
- Setting up environment locally
- Text editor
- Overview of Go compiler
- Downloading go archive
- Installing on Linux, unix, MacOS etc.
- Windows installation
- Verifying the installation process
3. Program Structure
- Example of hello world program
- Execution of a go program
4. Basic Syntax
- Go tokens
- Line separator
- Comments
- Keywords
- Identifiers
- GO whitespaces
5. Data Types
Types of Integer
Types of Floating
Types of Numerics
6. Variables
- variable definition
- static type declaration
- Dynamic type and mixed variable declaration in Go
- Ivalues and Rvalues in go
7. Constants
- Integer Literals
- Floating point literals
- Overview of string literals
- Escape sequence
- The const keyword
8. Types of Operators
- Arithmetic
- Logical
- Relational
- Assignment
- Bitwise
- Operator precedence
- Miscellaneous
9. Decision Making Statements
- If
- If else
- Nested if
- Select
- Switch
- If else else if
10. Looping statements
- For loops
- Nested for loops
- Loop control
- Continue
- Goto
- Infinite
11. Functions
- Defining and calling a function
- Returning multiple values from function
- Function arguments
- Call by value and Reference
- Function usage
12. Scope rules
- Local and global variables
- Formal Parameters
- Getting started with local and global variables
13. Strings
- String creation
- String length
- Concatenating strings
14. Arrays
- Declaring and initializing arrays
- Accessing array elements
- Detailed explanation on Go Arrays
- Multidimensional arrays in go
- Two dimensional arrays
- Initializing and accessing two dimensional arrays
- Passing arrays to functions
15. Pointers
- Introduction to pointers
- Working with pointers
- Nil pointers
- Overview of go pointers
- Array of pointers in go
- Pointer to Pointer in go
- Passing pointers to functions in go
16. Structures
- How to define a structure
- Getting access to structures members
- Structures as function arguments
- Pointers to structures
17. Slices
- Learn how to define a slice
- len() and cap() functions
- Nil slice and sub slicing
- append() and copy() functions
18. Overview of Range
19. Maps
- Overview of defining a map
delete() function
20. Recursion
21. Typecasting
22. Packages
23. Interfaces
24. Type Casting
25. Error Handling
26. Concurrency - goroutines and channel