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

undefined: h5.New #12

Closed
GoogleCodeExporter opened this issue Mar 26, 2015 · 6 comments
Closed

undefined: h5.New #12

GoogleCodeExporter opened this issue Mar 26, 2015 · 6 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1.
go run hello2.go
2.
content of hello2.go
package main

import (
    "fmt"
    "code.google.com/p/go-html-transform/h5"
    "net/http"
)

func main() {
    resp, err := http.Get("http://google.com")
    defer resp.Body.Close()
    fmt.Println(err)

    tree, _ := h5.New(rdr)

    fmt.Printf(tree)

}

What is the expected output? What do you see instead?
It seems to me that when i do :
go get "code.google.com/p/go-html-transform/h5"
it does not update to the latest code found at 
http://code.google.com/p/go-html-transform/source/checkout

What version of the product are you using? On what operating system?
I am using go build from source at tip go version 1.0.3 on W7x64

Please provide any additional information below.

I guess my question is more about how to get the latest sources from 
http://code.google.com/p/go-html-transform/source/checkout and use them to 
compile my hello2.go program

Thanks

Original issue reported on code.google.com by eric.vil...@gmail.com on 1 Mar 2013 at 2:05

@GoogleCodeExporter
Copy link
Author

Sorry it should say 

tree, _ := h5.New(resp.Body)

My bad but still get the error

Original comment by eric.vil...@gmail.com on 1 Mar 2013 at 2:07

  • Added labels: ****
  • Removed labels: ****

@GoogleCodeExporter
Copy link
Author

Same problem here. Go get'ting the repo downloads an old version. I can fix it 
locally downloading the repo using mercurial, but I keep having build failures 
on travis-ci and the documentation of my package is not valid until this is 
fixed.

Original comment by nerf...@gmail.com on 14 Apr 2013 at 4:00

  • Added labels: ****
  • Removed labels: ****

@GoogleCodeExporter
Copy link
Author

Looks like the authors have to update the "go1" tag to the lastest sources, is 
this planned? 
https://groups.google.com/forum/?fromgroups=#!topic/golang-nuts/sRNGZ_Z1Ygg

Original comment by nerf...@gmail.com on 14 Apr 2013 at 4:49

  • Added labels: ****
  • Removed labels: ****

@GoogleCodeExporter
Copy link
Author

I have updated the go1 tag to the latest sources. Does this fix your problem?

Original comment by jwall@google.com on 17 Jun 2013 at 3:43

  • Added labels: ****
  • Removed labels: ****

@GoogleCodeExporter
Copy link
Author

Original comment by jwall@google.com on 17 Jun 2013 at 3:46

  • Added labels: ****
  • Removed labels: ****

@GoogleCodeExporter
Copy link
Author

Original comment by jwall@google.com on 17 Jun 2013 at 3:50

  • Changed state: Fixed
  • Added labels: ****
  • Removed labels: ****

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

No branches or pull requests

1 participant