I am using netlink, a network library from github. The IDE can find some functions such as LinkList(), while it cannot locate others, such as RuleList() and nl.FAMILY_V4.
The version of library is correct. And when i open the library source file by clicking the left mouse button on the functions can be locate, the functions and variables which the IDE cannot locate are right there.
Goland Version Info:
Build #GO-212.5080.74, built on August 31, 2021
Runtime version: 11.0.11+9-b1504.16 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Windows 10 10.0
GC: ParNew, ConcurrentMarkSweep
Registry: suggest.all.run.configurations.from.context=true, ide.completion.variant.limit=500, go.run.processes.with.pty=false
Non-Bundled Plugins: Statistic (4.1.7), com.ypwang.plugin.go-linter (1.5.5)