Tuesday, April 23, 2024
HomeGolangGodoc server error, what ought to I do? - Getting Assist

Godoc server error, what ought to I do? – Getting Assist


Hello all,

I’m operating godoc -http=:6060 then opening http://localhost:6060/pkg/my_repo_path in browser.

The ensuing web page shows appropriately, however after I open some subpackages it exhibits their documentation as anticipated, however for some it complains that my code doesn’t compile:

/src/my:repo_path:128:60: anticipated ')', discovered b11111111 (and 10 extra errors)

The code compiles in my IDE, the exams run, the code itself runs simply high-quality. Why does godoc assume I’ve an error ?

Does it use an older model of my code, or maybe I first must construct/replace godoc earlier than operating the godoc server ?

One other unusual factor is that my go model is go model go1.18, however within the godoc web page footer it says Construct model go1.12.12.. Is it doable that godoc must in some way be configured to make use of my go model ?

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments