Goland shows me function is not used, but I'm using this same function
已回答
Golang is telling me that following function is unused

But I'm using this function as controller in the line 60 of the following image
How to fix that?
请先登录再写评论。
Hi,
Can you navigate to the function declaration if you hover over a usage, right-click and invoke Go to | Declaration or Usages?
What version of GoLand are you using (Help | Find Action | About)?