codetainerapp / codetainer

A Docker container in your browser.
MIT License
1.05k stars 108 forks source link

go get asset Error #19

Open timchunght opened 8 years ago

timchunght commented 8 years ago

The following is the error I got from running go get github.com/codetainerapp/codetainer

  # github.com/codetainerapp/codetainer
  root/go/src/github.com/codetainerapp/codetainer/http-helpers.go:60: undefined: Asset
  root/go/src/github.com/codetainerapp/codetainer/http-helpers.go:61: undefined: Asset
  root/go/src/github.com/codetainerapp/codetainer/http-helpers.go:62: undefined: Asset
  root/go/src/github.com/codetainerapp/codetainer/http-server.go:37: undefined: Asset
  root/go/src/github.com/codetainerapp/codetainer/http-server.go:38: undefined: AssetDir
jandre commented 8 years ago

Oh! I need to add a go generate directive in order to generate bindata.go since I removed it from the repo. Thanks for pointing this out!

jandre commented 8 years ago

Hmm. It turns out go generate isn't yet integrated with go get... so it still needs to be run manually before build. I either still need to check in bindata.go, or just update the README.