On Sat, Dec 22, 2018 at 2:15 AM Dan Kortschak <d...@kortschak.io> wrote:

> And yes. The curl option is -d, not -F, so
>
> curl -X POST -d "path=${IMPORTPATH}" https://godoc.org/-/refresh
>
> works and could easily be made into a post-push hook to be run in the
> root of the package like so:
>
> for pkg in $(go list ./...); do
>         curl -X POST -d "path=${pkg}" https://godoc.org/-/refresh
> done
>

FYI, I've translated this to:
 https://github.com/go-hep/hep/blob/master/ci/update-godoc.go

thanks!

-s

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to