Jonathan Hall

Results 122 issues of Jonathan Hall

I'm quite a fan of your httprouter package, and would love to use your Radix tree in other projects, where partial matching (as with your named parameters) is useful, and...

question

[Go 1.18 beta 1 is out](https://go.dev/blog/go1.18beta1). That means it's time to start working toward adding support to GopherJS. - [x] Compile and execute fuzz targets like normal tests. https://github.com/gopherjs/gopherjs/pull/1132 -...

Question: Is code like the following expected to work? ``` type X struct { *js.Object Baz *string `js:"baz"` } ``` Of course the reason I ask is that it's _not_...

bug

My testing indicates that build tags are not honored in *.inc.js files, but they probably should be, to honor upstream functionality documented [here](https://golang.org/pkg/go/build/#hdr-Build_Constraints): > Constraints may appear in any kind...

enhancement
gopherjs-tool
NeedsHelp

We already have `js.Global.Call()`, but this only works for methods on the global object. Not all JS functions are methods. Several if these are exposed via the [`jsbuiltin` package](https://github.com/gopherjs/jsbuiltin/blob/master/jsbuiltin.go) I...

Modern browsers support the [atob](https://developer.mozilla.org/en-US/docs/Web/API/WindowOrWorkerGlobalScope/atob) and [btoa](https://developer.mozilla.org/en-US/docs/Web/API/WindowOrWorkerGlobalScope/btoa) functions for Base64 encoding and decoding respectively. I just threw together [some benchmarks](https://gopherjs.github.io/playground/#/S0y0imUzKg) that demonstrate this could be an area for improved performance...

main.go: ``` package main import "github.com/flimzy/jstest/foo" ``` foo/foo.go: ``` package foo import "github.com/flimzy/jstest/bar" ``` bar/bar.go: ``` package bar import "github.com/flimzy/jstest/foo" ``` `gopherjs build` crashes (after about 25 seconds): ``` $...

bug
gopherjs-tool
NeedsFix

This is an issue that's been rolling around in my head for several months. It's more a discussion topic than a specific bug/issue. As background, I don't know precisely what...

Proposal
documentation