Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 630790

Summary: dev-go/go-tools-0_pre20160121: godoc broken
Product: Gentoo Linux Reporter: Mateusz Lenik <mlen>
Component: Current packagesAssignee: Zac Medico <zmedico>
Status: RESOLVED FIXED    
Severity: normal CC: 0xe2.0x9a.0x9b, powerman-asdf
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

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