Generics

Generics

Learn about generics in Go.

New Features in GoLand 2023.1

Playlist

New Features in GoLand 2023.1
A selection of useful features from GoLand 2022.3.
Rename Generic Receivers Along with a Generic Struct

Tip

Rename Generic Receivers Along with a Generic Struct
Get refactoring support when you rename a generic struct.
New Features in GoLand 2022.3

Playlist

New Features in GoLand 2022.3
A selection of useful features from GoLand 2022.3.
Generate Tests for Generic Functions

Tip

Generate Tests for Generic Functions
Use a shortcut to generate test files for your generic functions.
New Features in GoLand 2022.2

Playlist

New Features in GoLand 2022.2
A selection of useful features from GoLand 2022.2.
Convert Empty Interfaces to `any`

Tip

Convert Empty Interfaces to `any`
Check and replace empty interfaces that are used as types or type constraints.
Delete a Type Parameter with an Empty Parameter List

Tip

Delete a Type Parameter with an Empty Parameter List
Type parameters with empty parameter lists are reported as errors, but you have a quick-fix in GoLand to put it right.