Search results
The Go language is small, compiles really fast, and as a result it lets your mind focus on the actual problem and less on the tool you are using to solve it. Code, test, debug cycles are so quick that you forget you are not working with an interpreted language.
In this tutorial, you'll get a brief introduction to Go programming. Along the way, you will install Go, write some simple "Hello, world" code, use the go command to run your code, use the Go package discovery tool, and call functions of an external module.
The Go programming language is an open source project to make programmers more productive. Go is expressive, concise, clean, and efficient. Its concurrency mechanisms make it easy to write programs that get the most out of multicore and networked machines, while its novel type system enables flexible and modular program construction.
Go is not the only language used at Google, far from it, but it is a key language for a number of areas including site reliability engineering (SRE) and large-scale data processing. It is also a key part of the software that runs Google Cloud.
Development Operations & Site Reliability Engineering. With fast build times, lean syntax, an automatic formatter and doc generator, Go is built to support both DevOps and SRE. Learn More.
package main import "fmt" import "rsc.io/quote" func main() { fmt.Println(quote.Go())} Add new module requirements and sums. Go will add the quote module as a requirement, as well as a go.sum file for use in authenticating the module. For more, see Authenticating modules in the Go Modules Reference.
Go is a new language. Although it borrows ideas from existing languages, it has unusual properties that make effective Go programs different in character from programs written in its relatives. A straightforward translation of a C++ or Java program into Go is unlikely to produce a satisfactory result—Java programs are written in Java, not Go.
Say Hello, World with Go. Create a module. A multi-part tutorial that introduces common programming language features from the Go perspective. Getting started with multi-module workspaces. Introduces the basics of creating and using multi-module workspaces in Go.
Go is a general-purpose language designed with systems programming in mind. It is strongly typed and garbage-collected and has explicit support for concurrent programming. Programs are constructed from packages , whose properties allow efficient management of dependencies.
Why Go Case Studies Common problems companies solve with Go. Use Cases Stories about how and why companies use Go. Security Policy How Go can help keep you secure by default.