Git Product home page Git Product logo

Comments (7)

mna avatar mna commented on September 26, 2024

Please follow these instructions prior to the go get, as stated in the readme:

http://code.google.com/p/go-wiki/wiki/InstallingExp

from goquery.

srid avatar srid commented on September 26, 2024

i wish i could re-open this because the above instructions does not work:

$ hg clone https://code.google.com/p/go go-exp
[...]
3786 files updated, 0 files merged, 0 files removed, 0 files unresolved
$ mv go-exp/src/pkg/exp .
$ rm -rf go-exp/
$ go install exp/...
exp/gotype/gotype.go:15:2: import "go/types": cannot find package
$

using go1.0.3 on macosx 10.6.

from goquery.

mna avatar mna commented on September 26, 2024

Yes, go/types is a new (very interesting) package in tip, it does not exist in 1.0.3. I cannot test this at the moment, but looking at Go's source, you should be able to install only exp/html without problem. Goquery will be happy with this.

Let me know if this works.

from goquery.

srid avatar srid commented on September 26, 2024

you should be able to install only exp/html without problem

nope.

$ go install exp/html/...
# exp/html
exp/html/render.go:17: undefined: io.ByteWriter

from goquery.

srid avatar srid commented on September 26, 2024

maybe it is worth including the last-known stable version of exp/html in the goquery source tree? it would also allow one to install goquery—and the projects that depend on it—via go get.

from goquery.

mna avatar mna commented on September 26, 2024

It wouldn't work, because goquery also depends on the Cascadia library, which also requires exp/html (at this location). I'd have to bundle Cascadia too. But I will add the exp/html commit that works to the README and write custom instructions to install them, until Go1.1 lands (hopefully with exp/html in the stdlib).

For now: d9ff34d481bc is the commit that should work.

from goquery.

mna avatar mna commented on September 26, 2024

Fixed the README, adapted the instructions to install exp/*.

from goquery.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.