There are chances that other function names will change the signature to match interfaces in your GOPATH, in which case Gogland will not mark the function as unused since it won't know if it's needed to implement that interface or not (given how interfaces work in Go).
Since Gogland looks in your whole GOPATH for usages of the package.Function and it can't find any, it then marks the function as unused. If you want to have the function shown as use regardless of its name, there's a simple way to do so: write a test for it. -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.