We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6d3e439 commit d824a74Copy full SHA for d824a74
gopls/doc/advanced.md
@@ -62,4 +62,12 @@ this increases your chances of a build failure).
62
$ GO111MODULE=on gotip get -tags=typeparams golang.org/x/tools/gopls@master golang.org/x/tools@master
63
```
64
65
+This will build a version of gopls that understands generic code. To actually
66
+run the generic code you develop, you must also tell the compiler to speak
67
+generics using the `-G=3` compiler flag. For example
68
+
69
+```
70
+$ gotip run -gcflags=-G=3 .
71
72
73
[Go project]: https://go.googlesource.com/go
0 commit comments