dave / jsgo

GopherJS compiler, serving framework and CDN.
https://jsgo.io/<path>
MIT License
269 stars 11 forks source link

go generate at $GOPATH/src/github.com/dave/jsgo/initialise failed #19

Closed hajimehoshi closed 5 years ago

hajimehoshi commented 5 years ago
hajimehoshi@Hajimes-MacBook-Pro ~/go/src/github.com/dave/jsgo/initialise
$ GOPATH=~/go go generate
Loading...
Compiling: archive/tar (minified)
2018/12/26 01:41:20 goroot/src/reflect/value.go:673:60: cannot use t (variable of type *rtype) as *funcType value in argument to funcLayout
exit status 1
generate.go:3: running "go": exit status 1
dave commented 5 years ago

What Go version are you using?

hajimehoshi commented 5 years ago

go version go1.11.2 darwin/amd64

dave commented 5 years ago

OK I was on go1.11... I just upgraded to go1.11.4 and I'm getting the same error... I'll have a look into it...

dave commented 5 years ago

Give it a try now... The fix was in github.com/dave/services. I've upgraded services and jsgo to modules so you should be able to do a go get and it might work now.

hajimehoshi commented 5 years ago

OK now this succeeded. Thanks!