Implements Nginx's autoindex
module in Go.
Download and install the Autoindex CLI from autoindex/cli.
See autoindex/action for details.
import "github.com/go-autoindex/autoindex"
const dir = "."
func main() {
autoindex.Opts.Root = dir
autoindex.Gen(autoindex.Info{
Dir: dir,
Entries: []string{},
})
}