rhardih / serve

Simple http server for localhost development with flags for enabling gzip and http2
MIT License
102 stars 11 forks source link

Release (or install instruction) needs updating #5

Closed simonwiles closed 3 years ago

simonwiles commented 3 years ago

The install instruction to:

go get github.com/rhardih/serve

doesn't appear to work:

go get: github.com/rhardih/serve@none updating to
        github.com/rhardih/serve@v1.1.0: parsing go.mod:
        module declares its path as: serve
                but was required as: github.com/rhardih/serve 

This is because the commit at 705a565 didn't make it into v1.1.0. Ideally a new release should be made to include this commit. Alternatively, the package can be installed successfully with:

go get github.com/rhardih/serve@master

It's worth the effort, as this is a really useful little tool!

rhardih commented 3 years ago

Thanks for looking out! I think it should be fixed now with the v1.1.1 tag. I tried it in two different containers with 1.15 and 1.16 and it seems to work.