Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 630790 - dev-go/go-tools-0_pre20160121: godoc broken
Summary: dev-go/go-tools-0_pre20160121: godoc broken
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Zac Medico
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-09-12 09:22 UTC by Mateusz Lenik
Modified: 2018-08-25 10:23 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mateusz Lenik 2017-09-12 09:22:27 UTC
godoc command seems to be broken in current snapshot, it seems to be fixed in recent go-tools snapshot.

Expected behaviour:
$ godoc sync Pool
type Pool struct {

	// New optionally specifies a function to generate
...

Actual behavior:
$ godoc sync Pool
2017/09/12 11:14:38 cannot find package "." in:
	/target


After running godoc -http=:8080 and visiting localhost:8080, the following error shows up:
template: main:6:10: executing "main" at <$.GoogleCN>: can't evaluate field GoogleCN in type godoc.Page
Comment 1 Andrew Petelin 2018-02-16 16:55:17 UTC
The same problem in dev-go/go-tools-0_pre20160220 + dev-lang/go-1.9.4.
Comment 2 Zac Medico gentoo-dev 2018-08-20 01:58:15 UTC
Pleas try with dev-go/go-tools-0_pre20180817.
Comment 3 Mateusz Lenik 2018-08-25 10:23:17 UTC
Works correctly with dev-go/go-tools-0_pre20180817