An open API service indexing awesome lists of open source software.

https://github.com/marwan-at-work/moddoc

A GOPROXY Documentation Generator
https://github.com/marwan-at-work/moddoc

go godoc golang modules

Last synced: 6 months ago
JSON representation

A GOPROXY Documentation Generator

Awesome Lists containing this project

README

          

# moddoc

This is a server that takes a GOPROXY url as an argument and gives you a UI documentation similar to godoc.org except all data comes from the GOPROXY and not from VCS.

If your GOPROXY supports a /catalog endpoint, then you can see and search the list of existing modules on the home page.

## Quick start

```bash
~ GO111MODULE=on go install marwan.io/moddoc
# Assuming you have a GOPROXY server running at http://localhost:3000
~ GOPROXY=http://localhost:3000 moddoc
```

Visit http://localhost:3001

You can also visit `http://localhost:3001//@v/` to see a documentation package directly.
For example, http://localhost:3001/github.com/pkg/errors/@v/v0.8.1

## Demo

[Screen Shot 2019-03-22 at 1 32 36 AM](https://vimeo.com/325806835)

## Status

This program was meant as a temporary workaround until the Go team launched their own Module aware doc website.
Now that they have, please feel free to use the more fully featured https://pkg.go.dev