Go tutorials
Go (often referred to as Golang) is a modern, compiled programming language designed by Google, focusing on simplicity, efficiency, and scalability. Known for its robust concurrency model and straightforward syntax, Go is widely adopted for building cloud-native applications, system tools, and distributed services. Its performance and reliability make it ideal for high-demand environments.
E-books
Go provides powerful features such as goroutines for lightweight concurrent programming, channels for communication between goroutines, and a comprehensive standard library for tasks like web development, file manipulation, and networking. Its statically typed structure ensures type safety and reduces bugs, while its simplicity encourages clean and maintainable code, making it a favorite among developers creating scalable solutions.
Go is commonly used for microservices, container orchestration tools like Kubernetes, and command-line utilities, thanks to its fast compilation, portability, and minimal runtime overhead. It offers a rich ecosystem of libraries and a strong community, providing developers with the resources needed to craft efficient and reliable software for modern infrastructure.
Language basics
Program structure, building, variables, operators, printing, and control flow.
Functions and types
Functions, closures, variadic parameters, pointers, structs, interfaces, generics, and error handling.
Arrays, slices, and maps
Arrays, slices, maps, and the functions that create, grow, filter, and sort them.
Strings
Strings, bytes and runes, building and joining strings, formatting, conversions, and regular expressions.
Packages, modules, and testing
Organizing code into packages and modules, embedding files, testing, and deploying with Docker.
Input and output
Reading user input and command-line arguments, and working with files and directories.
System and terminal
Environment variables, external commands, pipes, and terminal output.
Concurrency
Goroutines, channels, and synchronization with WaitGroup.
Date and time
Getting the current time, and parsing and formatting dates.
Data formats
Encoding and decoding JSON, YAML, CSV, Excel, and Base64 data.
Networking and HTTP
TCP and UDP sockets, URLs, email, HTTP clients and servers, HTTPS, routing, serving and uploading files, and testing HTTP code.
Web frameworks and templates
Routers, web frameworks, WebSockets, and template engines.
Web scraping
Parsing HTML and scraping web pages.
Databases
Working with MySQL and SQLite databases.
Graphics, GUI, and libraries
Drawing, charts, desktop UIs, and other third-party libraries.
Algorithms
Random numbers, word counting, and classic sorting algorithms.
Go Keywords
- Go break keyword
- Go default keyword
- Go func keyword
- Go interface keyword
- Go select keyword
- Go defer keyword
- Go go keyword
- Go map keyword
- Go struct keyword
- Go chan keyword
- Go goto keyword
- Go package keyword
- Go switch and case keywords
- Go const keyword
- Go fallthrough keyword
- Go if/else keywords
- Go range keyword
- Go type keyword
- Go continue keyword
- Go for keyword
- Go import keyword
- Go return keyword
- Go var keyword
Go Builtin Functions
- Go append built-in function
- Go cap built-in function
- Go clear built-in function
- Go close built-in function
- Go complex built-in function
- Go copy built-in function
- Go delete built-in function
- Go imag built-in function
- Go len built-in function
- Go make built-in function
- Go max built-in function
- Go min built-in function
- Go new built-in function
- Go panic built-in function
- Go print built-in function
- Go println built-in function
- Go real built-in function
- Go recover built-in function
Go Builtin Types
- Go ComplexType built-in type
- Go FloatType built-in type
- Go IntegerType built-in type
- Go any built-in type
- Go bool built-in type
- Go byte built-in type
- Go comparable built-in type
- Go complex128 built-in type
- Go complex64 built-in type
- Go error built-in type
- Go float32 built-in type
- Go float64 built-in type
- Go int built-in type
- Go int16 built-in type
- Go int32 built-in type
- Go int64 built-in type
- Go int8 built-in type
- Go rune built-in type
- Go string built-in type
- Go uint built-in type
- Go uint16 built-in type
- Go uint32 built-in type
- Go uint64 built-in type
- Go uint8 built-in type
- Go uintptr built-in type
Go fmt functions
- Go fmt.Append function
- Go fmt.Appendf function
- Go fmt.Appendln function
- Go fmt.Errorf function
- Go fmt.Fprint function
- Go fmt.Fprintf function
- Go fmt.Fprintln function
- Go fmt.Print function
- Go fmt.Printf function
- Go fmt.Println function
- Go fmt.Scan function
- Go fmt.Scanf function
- Go fmt.Scanln function
- Go fmt.Sprint function
- Go fmt.Sprintf function
- Go fmt.Sprintln function
- Go fmt.Fscan function
- Go fmt.Fscanf function
- Go fmt.Fscanln function
- Go fmt.Sscan function
- Go fmt.Sscanf function
- Go fmt.Sscanln function
- Go fmt.Formatter interface
- Go fmt.GoStringer interface
- Go fmt.Scanner interface
- Go fmt.State interface
- Go fmt.Stringer interface
Go strconv functions
- Go strconv.Atoi function
- Go strconv.Itoa function
- Go strconv.ParseBool function
- Go strconv.ParseFloat function
- Go strconv.ParseInt function
- Go strconv.ParseUint function
- Go strconv.FormatBool function
- Go strconv.FormatFloat function
- Go strconv.FormatInt function
- Go strconv.FormatUint function
- Go strconv.Quote function
- Go strconv.QuoteToASCII function
- Go strconv.QuoteRune function
- Go strconv.QuoteRuneToASCII function
- Go strconv.QuoteRuneToGraphic function
- Go strconv.Unquote function
- Go strconv.UnquoteChar function
- Go strconv.AppendBool function
- Go strconv.AppendFloat function
- Go strconv.AppendInt function
- Go strconv.AppendUint function
- Go strconv.AppendQuote function
- Go strconv.AppendQuoteToASCII function
- Go strconv.AppendQuoteToGraphic function
- Go strconv.AppendQuoteRune function
- Go strconv.AppendQuoteRuneToASCII function
- Go strconv.AppendQuoteRuneToGraphic function
- Go strconv.CanBackquote function
- Go strconv.IsGraphic function
- Go strconv.IsPrint function
Go slices functions
- Go slices.All function
- Go slices.AppendSeq function
- Go slices.Backward function
- Go slices.BinarySearch function
- Go slices.BinarySearchFunc function
- Go slices.Chunk function
- Go slices.Clip function
- Go slices.Clone function
- Go slices.Collect function
- Go slices.Compact function
- Go slices.CompactFunc function
- Go slices.Compare function
- Go slices.CompareFunc function
- Go slices.Concat function
- Go slices.Contains function
- Go slices.ContainsFunc function
- Go slices.Delete function
- Go slices.DeleteFunc function
- Go slices.Equal function
- Go slices.EqualFunc function
- Go slices.Grow function
- Go slices.Index function
- Go slices.IndexFunc function
- Go slices.Insert function
- Go slices.IsSorted function
- Go slices.IsSortedFunc function
- Go slices.Max function
- Go slices.MaxFunc function
- Go slices.Min function
- Go slices.MinFunc function
- Go slices.Repeat function
- Go slices.Replace function
- Go slices.Reverse function
- Go slices.Sort function
- Go slices.SortFunc function
- Go slices.Values function
- Go slices.SortStableFunc function
- Go slices.Sorted function
- Go slices.SortedFunc function
- Go slices.SortedStableFunc function
Go maps functions
Go Regexp
- Go regexp.Compile function
- Go regexp.MustCompile function
- Go regexp.CompilePOSIX function
- Go regexp.MustCompilePOSIX function
- Go Regexp.Match method
- Go Regexp.MatchString method
- Go Regexp.MatchReader method
- Go Regexp.Find method
- Go Regexp.FindString method
- Go Regexp.FindIndex method
- Go Regexp.FindStringIndex method
- Go Regexp.FindSubmatch method
- Go Regexp.FindStringSubmatch method
- Go Regexp.FindSubmatchIndex method
- Go Regexp.FindStringSubmatchIndex method
- Go Regexp.FindAll method
- Go Regexp.FindAllString method
- Go Regexp.FindAllIndex method
- Go Regexp.FindAllStringIndex method
- Go Regexp.FindAllSubmatch method
- Go Regexp.FindAllStringSubmatch method
- Go Regexp.FindAllSubmatchIndex method
- Go Regexp.FindAllStringSubmatchIndex method
- Go Regexp.ReplaceAll method
- Go Regexp.ReplaceAllString method
- Go Regexp.ReplaceAllLiteral method
- Go Regexp.ReplaceAllLiteralString method
- Go Regexp.ReplaceAllFunc method
- Go Regexp.ReplaceAllStringFunc method
- Go Regexp.Split method
- Go Regexp.NumSubexp method
- Go Regexp.SubexpNames method
- Go Regexp.SubexpIndex method
- Go Regexp.String method
- Go Regexp.Copy method
- Go regexp.QuoteMeta function
last modified June 21, 2026