-
Notifications
You must be signed in to change notification settings - Fork 18.8k
Closed
Labels
DocumentationIssues describing a change to documentation.Issues describing a change to documentation.FrozenDueToAge
Milestone
Description
Please answer these questions before submitting your issue. Thanks!
- What version of Go are you using (
go version)?
go-1.6 - What operating system and processor architecture are you using (
go env)?
linux/amd64 - What did you do?
$> mkdir /tmp/gopath
$> cd /tmp/gopath
$> export GOPATH=/tmp/gopath
$> go get -u golang.org/x/exp/shiny/screen/...
$> cd $GOPATH/src/golang.org/x/exp/shiny/example/basic
$> go run ./main.go
${GOPATH}/golang.org/x/exp/shiny/driver/internal/x11key/x11key.go:9:2: cannot find package "golang.org/x/mobile/event/key" in any of:
${GOPATH}/src/golang.org/x/exp/shiny/vendor/golang.org/x/mobile/event/key (vendor tree)
/usr/local/go/src/golang.org/x/mobile/event/key (from $GOROOT)
${GOPATH}/src/golang.org/x/mobile/event/key (from $GOPATH)
${GOPATH}/src/golang.org/x/exp/shiny/driver/x11driver/window.go:25:2: cannot find package "golang.org/x/mobile/event/lifecycle" in any of:
${GOPATH}/src/golang.org/x/exp/shiny/vendor/golang.org/x/mobile/event/lifecycle (vendor tree)
/usr/local/go/src/golang.org/x/mobile/event/lifecycle (from $GOROOT)
${GOPATH}/src/golang.org/x/mobile/event/lifecycle (from $GOPATH)
${GOPATH}/src/golang.org/x/exp/shiny/driver/x11driver/screen.go:20:2: cannot find package "golang.org/x/mobile/event/mouse" in any of:
[...etc...]
- What did you expect to see?
A nicer way to run the example(s)
I would propose to:
$> cd $GOPATH/src/golang.org/x/exp/shiny
$> git mv example _examples
and remove all the // +build ignore build tags from the examples,
so one could at least do:
$> cd _examples/basic
$> go get -d .
to download all the dependencies in one go.
(I can send a CL)
-s
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
DocumentationIssues describing a change to documentation.Issues describing a change to documentation.FrozenDueToAge