Skip to content

godoc: errors out about parsing package.txt #7771

@gopherbot

Description

@gopherbot

by qeed.quan:

Before filing a bug, please check whether it has been fixed since the
latest release. Search the issue tracker and check that you're running the
latest version of Go:

Run "go version" and compare against
http://golang.org/doc/devel/release.html  If a newer version of Go exists,
install it and retry what you did to reproduce the problem.

Thanks.

What does 'go version' print?
go version devel +b3405f9c2e32 Sat Apr 12 14:56:17 2014 +1000 linux/amd64

What steps reproduce the problem?
If possible, include a link to a program on play.golang.org.

1. Use go tip checked out from hg 
2. go get code.google.com/p/go.tools/cmd/godoc
3. godoc a package such as os (godoc os)

What happened?
During output it prints out an error message
2014/04/12 23:20:32 template: package.txt:64:17: executing "package.txt" at
<.Name>: Name is not a field of struct type *doc.Value
and then quits midway.

What should have happened instead?
Should run to completion without any errors.

Please provide any additional information below.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions