go - How to force Windows godoc to update private package documentation on local webserver in golang? -


how can force godoc update private package documentation when running local godoc webserver on windows?

running command: "godoc -http :6060" on windows doesn't update new godoc comments in private packages. when first ran command got comments present hasn't updated since when killing , restarting command. there cache or can clear?

i can't find anywhere. there's old github issue (that apparently fixed) frozen due age , deals -sync option doesn't exist in godoc in current (and own) go1.8 windows/amd64 install: https://github.com/golang/go/issues/3273

i tried on linux , updates when kill , restart "godoc -http :6060" command.

technically not go related problem, more related execution of command when contents of folder change.

there solutions standard http go programs -- have router , listen on specific port -- nothing godoc. because of os-dependant model, os needs have way detect , listen changes in directory.

maybe something here may out, require bash scripting -- may not option if you're on windows and/or don't have bash.

for go http projects, there's codegangsta's gin package , pilu's fresh. both work great!


Comments

Popular posts from this blog

php - Permission denied. Laravel linux server -

google bigquery - Delta between query execution time and Java query call to finish -

python - Pandas two dataframes multiplication? -