-
I'm trying to do a [gopherjs binding for VueJS](https://github.com/oskca/gopherjs-vue). I found a clear way to do bidirectional data bindings from gopherjs to VueJS and so far it works great :smile: …
oskca updated
2 years ago
-
``` go
// +build js
package main
import "github.com/gopherjs/gopherjs/js"
func log(i ...interface{}) {
js.Global.Get("console").Call("log", i...)
}
func main() {
print("print message")
…
-
Hi,
Even when issues with building on Go >v1.12 are fixed (GopherJS), the build won't go forward unless the directory is named `perkeep.org` and is placed into `$GOPATH`.
This makes packaging in…
-
This is legal Go:
https://play.golang.org/p/z6kIzF23TDV
But fails to compile in GopherJS:
https://gopherjs.github.io/playground/#/L2YXer4VRi
-
-
Hello, when I tried to build a project with the gopherjs command ,I got errors such as these:
root@default:/go/src/github.com/EngineerKamesh/igb/igweb/client# gopherjs build
cannot find package "git…
-
In my use case, I'd like to have a model that is isomorphic and handlers against this model mutate the model. In a normal world, I'd have the model once in JavaScript with mutators written in JavaScri…
idcmp updated
5 years ago
-
I've long considered that running Vecty code as part of a Go webserver is a common use case, as opposed to a purely client-side application (which can be easily ran via `gopherjs serve`).
I think t…
-
1. Create `/tmp/foo`
2. Run `GOPATH=/tmp/foo go get github.com/gopherjs/gopherjs`
3. Copy `$GOROOT/src/**/*.go` to `/tmp/foo/src` (`**` means all recursive directories)
4. Run `GOROOT=/tmp/foo /tmp…
-
### What version of Go are you using (go version)?
`go version go1.9 windows/amd64`
### What version of GopherJS are you using ?
`GopherJS 1.9-1`
### What did you do?
`cat src/hello/main.go`…