AppDividend
Latest Code Tutorials

Golang Tutorial | Go Programming Language Index

Go, also known as Golang, is a statically typed, compiled programming language designed at Google by Robert Griesemer, Rob Pike, and Ken Thompson. Go is syntactically similar to C, but with memory safety, garbage collection, structural typing, and CSP-style concurrency.

Golang is a procedural and statically typed programming language having syntax similar to C programming language. Sometimes it is termed as Go Programming Language. It provides a rich standard library, garbage collection, and dynamic-typing capability. It was developed in 2007 by Robert Griesemer, Rob Pike, and Ken Thompson at Google but launched in 2009 as an open-source programming language and mainly used in Google’s production systems. Golang is one of the most trending programming languages among developers.

Golang Basics

Golang Array and Slice

  • Array in Golang
  • Copying an Array into Another Array in Golang
  • Passing an Array to a Function in Golang
  • Slices in Golang
  • Slice Composite Literal
  • Copying one Slice into another Slice
  • Golang Array to Slice
  • Passing a Slice to Function
  • Comparing two Slices in Golang
  • Checking the Equality of Slices in Golang
  • Sorting a Slice in Golang
  • Trimming a Slice in Golang
  • Splitting a Slice in Golang
  • Golang slice append()
  • Golang Slice to String

Golang String

  • Check if the given characters are present in String
  • Repeating a String for Specific Number of Times
  • Count the Number of Repeated Characters in String

 

Golang Pointers

  • Pointer to Struct
  • Pointer to Pointer (Double Pointer)
  • Pointers to a Function
  • Returning Pointer from a Function
  • Pointer to an Array as Function Argument
  • Comparing Pointers
  • Finding the Capacity of the Pointer
  • Finding the Length of the Pointer

Golang Maps

Golang Control Statements

  • Switch Statement in Golang
  • Deadlock and Default Case in Select Statement

Golang Functions & Methods

Golang Structure

  • Anonymous Structure and Fields
  • Promoted Fields in Structure
  • Promoted Methods in Structure
  • Function as a Field in Structure

Golang Concurrency

  • Goroutines – Concurrency in Golang
  • Select Statement in Golang
  • Multiple Goroutines in Golang
  • Goroutine vs. Thread
  • Channel in Golang
  • Unidirectional Channel in Golang

Golang Interface

  • Embedding Interface in Golang
  • Polymorphism Using Interfaces in Golang

Golang File Management

Golang Type Conversions

Golang Advanced Topics

 

Comments are closed.