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") }