livebud / bud

The Full-Stack Web Framework for Go
MIT License
5.58k stars 179 forks source link

makefile: add tools to install script. closes #215 #218

Closed matthewmueller closed 2 years ago

matthewmueller commented 2 years ago

A slightly better approach would be to modify:

https://github.com/livebud/bud/blob/3a251081b908bc8c2dd15cfcaac0352b03e59f82/internal/urlx/parse.go#L13

To use go run github.com/pointlander/peg, but currently it generates a header comment that would change every time.

E.g.

// Code generated by /var/folders/4f/tcxcr6_55v9bp38d8g4hjlf80000gn/T/go-build1073813380/b001/exe/peg