| 1 | # Contributing to Go |
| 2 | |
| 3 | Go is an open source project. |
| 4 | |
| 5 | It is the work of hundreds of contributors. We appreciate your help! |
| 6 | |
| 7 | ## Contributing code |
| 8 | |
| 9 | Please read the [Contribution Guidelines](https://golang.org/doc/contribute.html) |
| 10 | before sending patches. |
| 11 | |
| 12 | Unless otherwise noted, the Go source files are distributed under |
| 13 | the BSD-style license found in the LICENSE file. |
| 14 | |
| 15 | ### Contributing to gopls |
| 16 | |
| 17 | This repository has a multi-module structure: the root module |
| 18 | (`golang.org/x/tools`) and the `gopls` module |
| 19 | (`golang.org/x/tools/gopls`). |
| 20 | |
| 21 | If you are contributing to `gopls`, please see the specific [gopls |
| 22 | contribution guide](gopls/doc/contributing.md) for detailed instructions on |
| 23 | workspace setup, building, testing, and debugging. |
| 24 | |
| 25 | ## Filing issues |
| 26 | |
| 27 | When [filing an issue](https://golang.org/issue/new), make sure to answer these five questions: |
| 28 | |
| 29 | 1. What version of Go are you using (`go version`)? |
| 30 | 2. What operating system and processor architecture are you using? |
| 31 | 3. What did you do? |
| 32 | 4. What did you expect to see? |
| 33 | 5. What did you see instead? |
| 34 | |
| 35 | General questions should go to the [golang-nuts mailing list](https://groups.google.com/group/golang-nuts) instead of the issue tracker. |
| 36 | The gophers there will answer or ask you to file an issue if you've tripped over a bug. |
| 37 |