DocumentationNeedsInvestigationhelp wanted
Repository metrics
- Stars
- (133,883 stars)
- PR merge metrics
- (No merged PRs in 30d)
Description
The Go compiler has a pragma
//go:nointerface
As far as I can tell, it prevents a method from being used to satisfy an interface. However, I cannot find any (public) documentation on it.
Even https://golang.org/src/cmd/compile/internal/gc/lex.go, which has comments for the other pragmas, does not describe this one.