Create a function in another package

Type a non-existing function name and generate its implementation in a package of your choice

GoLand introduces an innovative feature: the Create Function Quick-Fix. This quick-fix significantly accelerates the development process by allowing you to type a non-existing function name and then effortlessly generate its implementation in a package of your choice.

How it Works:

Start by typing the name of a function that does not yet exist in your code. Click a light bulb icon that appears in the editor or use the keyboard shortcut ⌥⏎ (macOS) / Alt+Enter (Windows/Linux) to activate the quick-fix. Select the package where you want to generate the new function.

Code coverage for applications

Related Resources

Empower your `Printf`-like functions with coding assistance
Empower your `Printf`-like functions with coding assistance
Provide hints and highlights for message formats in custom `Printf`-like functions
Vulnerability checker
Vulnerability checker
Analyze your codebase and highlight known vulnerabilities in go.mod
Convert between different types of strings
Convert between different types of strings
Convert strings that are surrounded by backticks to double-quoted ones and vice-versa