Inspectopedia Help

Unused exported function

Reports unused exported functions.

In Go, a function is exported if it begins with a capital letter. Names of exported functions that were defined but never used are grayed out.

// Unused exported function func ExportedUnusedFunc() { } func main() { fmt.Println("Hello") }

Inspection Details

By default bundled with:

GoLand 2024.1, Qodana for Go 2024.1,

Can be installed with plugin:


Last modified: 29 April 2024