Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Learn Google Go - Golang Programming for Beginners
Rating: 4.1 out of 5(15 ratings)
153 students

Learn Google Go - Golang Programming for Beginners

Learn fundamentals of programming in the Go language
Last updated 4/2016
English
English [Auto],

What you'll learn

  • Learn Data types in Google Go
  • Learn Maps and Pointers
  • Learn Loops and Conditional Statements

Course content

4 sections34 lectures3h 21m total length
  • Course Introduction2:42

    Explore the fundamentals of the Go language, including installation, documentation, types, variables, and functions. Master control flow with for loops, switch, slices, maps, structs, pointers, and interfaces.

  • Installing Go5:19

    This lecture covers installing Go on Linux and other OS by downloading the binary tarball, extracting it, and updating the PATH via profile or bashrc to test the install.

  • Verifying the Install with hello.go5:48

    Set up a go workspace, export PATH and GOPATH in your shell, create hello.go, compile with go install, and run the hello binary to verify installation that prints hello world.

  • Getting Package Documentation3:39

    Learn how Go packages organize code, using package main and the main function to print Hello world, and inspect the fmt package with go doc and go tool.

  • Data Types and Declaration8:53

    Introduce Go data types and declarations, covering int, uint, byte, rune, floats, complex, strings with quotes or backticks, booleans, and zero-based arrays; explain var and short declaration with type inference.

  • Program Structure with Global Var Declaration6:51

    Explore Go program structure with a hello world example, using package main and the main entry point, and fmt.Printf for formatted output. Learn global var declarations and type inference.

  • Declaring Multiple Variables on Single Line2:44

    Declare multiple variables on a single line in Go using inline declarations and the colon equal syntax, with A and B set to 3 and 5.

  • Introduction to Functions4:25

    Learn to define a new function that adds two integers and returns the sum. Call the function from main, pass parameters, and apply the return type and curly brace syntax.

  • Returning Multiple Values from a Function4:14

    Learn how to swap two integers in Go using a temporary variable and direct assignment, then return multiple values from a function to update a and b.

  • Naming Return Values2:42

    Name the return values x and y in a Go function and see how named returns assign them and remove the explicit return.

  • Variadic Parameter List5:19

    Learn how to implement a variadic parameter list in Go to sum any number of integers, using ellipsis, a for loop, and a return value.

  • Recursive Functions6:07

    Learn how recursion works in Go by using a self calling factorial function, with a base case that factorial of 0 is 1, and understand stack growth and overflow risks.

Requirements

  • Will Require Google Go Tool Installtion
  • Knowledge of any Programming Language is Helpful, but Not Necessary
  • Any Linux Based Operating System, but Not Necessary

Description

This course teaches the fundamentals of programming in the Go language. Go is a language suitable for a wide variety of tasks, from systems programming to writing web servers. In this course, we’ll learn the syntax of Go, but more importantly, how to “think in Go.” While many tasks can be performed in the same ways as they are done in other programming languages, there is usually a more streamlined solution offered by Go, and that’s what we’re here to learn. 

This 3-hour course is divided into four units. Topics include: 

- Installing Go and verifying the installation
- Finding package documentation
- Data types and program structure
- Functions 
- Loops and conditional statements
- Arrays and slices
- Maps
- Structures and pointers
- New vs. Make
- Reference types and value types
- Buffered input and output
- Initialization
- Function types and closures
- Interfaces


I hope you join me for this exciting look into one of the most powerful and elegant languages there is! 

Who this course is for:

  • Any Fresher Who Wants to Learn Google Go
  • Expert who Needs to Brush up Google Go Knowledge