API reference
Go API reference
The language, standard library and concurrency
Last updated
- Identifiers
- 80
- With full guides
- 0
- Types
- 5
Topics covered
- Basics
- Concurrency
- Errors
- Standard library
- Testing
- Tooling
Class
| Name | What it does |
|---|
sync.Mutex | Class |
sync.RWMutex | Class |
sync.WaitGroup | Class |
sync.Once | Class |
sync.Map | Class |
http.Client | Class |
http.Server | Class |
http.Request | Class |
bufio.Scanner | Class |
bytes.Buffer | Class |
time.Duration | Class |
Function
| Name | What it does |
|---|
fmt.Println | Function |
fmt.Printf | Function |
fmt.Sprintf | Function |
fmt.Errorf | Function |
errors.New | Function |
errors.Is | Function |
errors.As | Function |
strings.Split | Function |
strings.Join | Function |
strings.Contains | Function |
strconv.Itoa | Function |
strconv.Atoi | Function |
json.Marshal | Function |
json.Unmarshal | Function |
http.Get | Function |
http.ListenAndServe | Function |
http.HandleFunc | Function |
context.Background | Function |
context.WithCancel | Function |
context.WithTimeout | Function |
time.Now | Function |
time.Sleep | Function |
os.Open | Function |
os.ReadFile | Function |
os.Getenv | Function |
io.ReadAll | Function |
sort.Slice | Function |
slices.Sort | Function |
maps.Keys | Function |
make | Function |
new | Function |
append | Function |
len | Function |
cap | Function |
copy | Function |
delete | Function |
panic | Function |
recover | Function |
close | Function |
Interface
| Name | What it does |
|---|
error | Interface |
io.Reader | Interface |
io.Writer | Interface |
http.Handler | Interface |
context.Context | Interface |
sort.Interface | Interface |
fmt.Stringer | Interface |
Command
| Name | What it does |
|---|
go build | Command |
go run | Command |
go test | Command |
go mod init | Command |
go mod tidy | Command |
go get | Command |
go fmt | Command |
go vet | Command |
go generate | Command |
go install | Command |
Concept
| Name | What it does |
|---|
Goroutines | Concept |
Channels | Concept |
select | Concept |
defer | Concept |
Pointers | Concept |
Structs | Concept |
Interface embedding | Concept |
Generics | Concept |
Method receivers | Concept |
Slices | Concept |
Maps | Concept |
Worker pools | Concept |
Table-driven tests | Concept |
Search across every package and filter by type in your dashboard.
Start learning