sourcegraph / webloop

WebLoop: Scriptable, headless WebKit with a Go API. Like PhantomJS, but for Go.
https://sourcegraph.com/github.com/sourcegraph/webloop
BSD 3-Clause "New" or "Revised" License
1.37k stars 84 forks source link

"const initializer unsafe.Pointer(uintptr(0)) is not a constant" #12

Open howesteve opened 9 years ago

howesteve commented 9 years ago

Hello,

Can't build gojs (a dependency of webloop): $ go get github.com/sqs/gojs

github.com/sqs/gojs

vitavoom/go/src/github.com/sqs/gojs/context.go:17: const initializer unsafe.Pointer(uintptr(0)) is not a constant

Appears to be same as this: https://github.com/crazy2be/gojs/commit/5392714629fcd4b2c1b148c7f00a2ab118b0eb64

Could it be fixed, please?

Thanks, Howe

temorfeouz commented 8 years ago

Try use golang with version 1.3. Its worked for me