Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot compile: utc1.RFC1123 undefined #21

Closed
bortzmeyer opened this issue Jan 12, 2010 · 3 comments
Closed

Cannot compile: utc1.RFC1123 undefined #21

bortzmeyer opened this issue Jan 12, 2010 · 3 comments

Comments

@bortzmeyer
Copy link

Programmation/Go/web.go % git pull
Already up-to-date.
Programmation/Go/web.go % make
/home/bortzmeyer/bin/8g -o go.8 fcgi.go request.go scgi.go servefile.go web.go
web.go:76: utc1.RFC1123 undefined (type time.Time has no field RFC1123)
make: *** [go.8] Error 1

@hoisie
Copy link
Owner

hoisie commented Jan 12, 2010

Thanks for the heads up. Go recently changed the time package and got rid of the time.RFC1123 methods. In general I try to make web.go compile on the -release tag, because that's what the majority of people use. I am personally sync'd to -tip, so when theres a new go release, I'll push the change right away.

In the man time feel free to make a small change to the local branch:
http://pastie.org/774702

@bortzmeyer
Copy link
Author

Yes, this patch works for me, thanks.

@hoisie
Copy link
Owner

hoisie commented Jan 14, 2010

Go just bumped the -release version, this should work now

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants