> For the complete documentation index, see [llms.txt](https://ploegert.gitbook.io/til/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ploegert.gitbook.io/til/programmy/go/access-go-docs-offline.md).

# Access Go Docs Offline

The Go language has a wonderfully comprehensive standard library. There is documentation for all of it. You can access that documentation anytime if you have an internet connection via [https://golang.org/doc/](https://github.com/ploegert/til/blob/master/programmy/go/golang.org/doc/README.md).

If you are without an internet connection, you're still in luck. Go has a built-in feature for serving the documentation locally *offline*. Just run the following command:

```
$ godoc -http=:6060
```

and then visit `localhost:6060`.

[source](http://www.andybritcliffe.com/post/44610795381/offline-go-lang-documentation)
