-
### 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`…
-
trying to do something like this
```go
package main
import (
"github.com/gopherjs/gopherjs/js"
)
func exampleFunc(p *string) *string {
return p
}
func main() {
js.Global.Set("exampl…
-
https://gopherjs.github.io/playground/#/vktXctwlw5
```go
package main
import (
"fmt"
"github.com/gopherjs/gopherjs/js"
)
func main() {
ch := make(chan struct{})
js.Global.Call("se…
-
А есть понимание или план того, как будет строиться интерфейс.
Я давно ищу решени для построения UI и вот какие есть, на счет этот, мысли:
- Описание UI в декларативном виде, например XML;
- За ком…
-
Hey, your JSON package looks really really useful; am I right in thinking that it correctly handles json tags? Does this mean it should work as a plug-and-play replacement for "encoding/json"? If so, …
-
If a variable has value `nil` and is typecast, the result will have a non-nil value which appears to be an invalid pointer. This differs from the behavior of Go.
The following illustrate the differ…
-
(There's probably a better description for what I'm doing--I'll update the title if someone suggests it).
I've discovered that a pattern I have been using frequently in Go fails in GopherJS. I'm un…
-
The gorilla websocket library does not support webassembly. It would be nice to use https://github.com/nhooyr/websocket to have support for it. It would require test to make sure it also work with gop…
-
I'm interested in having Gopherjs produce rather than a single javascript file, multiple files - one for each Go package. This would provide huge benefits to those of us using a modern modular workflo…
-
GoLand is flagging this as a syntax error...
https://github.com/gopherjs/gopherjs/blob/8dffc02ea1cb8398bb73f30424697c60fcf8d4c5/compiler/natives/src/runtime/runtime.go#L207
... it obviously doe…