What is Go?
- Go course
- Beginner
- Lesson 1/90
- 4 min
Learn that Go is a simple and fast language born at Google.
What is Go?
Go (or Golang) is a compiled, statically typed programming language introduced at Google in 2009. Its designers are Robert Griesemer, Rob Pike and Ken Thompson.
Go is a compiled language: you turn your source code into a single executable with go build. That file runs directly on the operating system; no separate interpreter is needed.
Go is widely used for cloud services, command-line tools, DevOps tools (Kubernetes, Terraform, Docker) and network programming. Its clean syntax and powerful concurrency model stand out.
What makes Go stand out
Go's most distinctive features are:
- Clean syntax: few keywords, easy to learn
- Fast compilation: large projects build in seconds
- Single binary: runs without dependencies
- Goroutines: lightweight threads for concurrency
- Standard library: strong baseline including net, JSON, HTTP
These traits make Go popular for production servers.
Practice First Go output
Add a fmt.Println line inside the empty main. The output must be Hello Go.
Starter code
package main
import "fmt"
func main() {
// buraya yaz
}Sample solution
package main
import "fmt"
func main() {
fmt.Println("Hello Go")
}Expected output
Merhaba Go
Questions and answers
Review the lesson questions together with their answers. To test yourself, solve the lesson interactively.
1 Where was Go born?
- At Apple
- At Microsoft
- At Google Correct answer
- At Amazon
Explanation: Go was designed at Google and introduced in 2009.
2 Go source file
Go source code is usually written in a file with the ____ extension.
Go source code is usually written in a file with the .go extension.
Explanation: Go source files use the .go extension.
3 Match the concepts
| Term | Meaning |
|---|---|
Go |
Programming language |
Golang |
Another name for Go |
go build |
Compile command |
.go |
Source file extension |