Nevkontakte
Nevkontakte
Reproduction example: ``` package main type IOne interface { conflict() } type ITwo interface { conflict() } type Struct struct { IOne ITwo } func main() { s := &Struct{}...
Consider the following snippet: ``` package main import ( "unsafe" ) func main() { bytes := [4]byte{1, 2, 3, 4} ptr := unsafe.Pointer(&bytes[0]) ints := (*[1]int32)(ptr) want := &[1]int32{0x04030201} //...
I ran into this issue today while debugging `testing` package under Go 1.16. The `Fstatat()` function in `https://pkg.go.dev/internal/syscall/unix#Fstatat` package passes a pointer to `struct stat` as a third argument. Unfortunately,...
Is there a tool which can analyze GopherJS-generated JavaScript file and build a diagram of which packets contribute to the file size and through which dependencies they were pulled in?...
This is how the page renders: . As you can see, most of the content is missing. There seems to be an error in the dev console, which I suspect...
[Go 1.19 was released](https://go.dev/blog/go1.19) last week and we should begin work on supporting it. Skimming through the [release notes](https://tip.golang.org/doc/go1.19), the following changes seem relevant to us: - The [sync/atomic](https://tip.golang.org/pkg/sync/atomic/) package...
I think one of the biggest pain points for GopherJS users (current and potential) is the lack of accessible and comprehensive user documentation. We have some bits scattered between the...
...or, more precisely, not actively incompatible with GopherJS. At a high level, this PR does two changes: - Use `GOOS=js` as a predicate for the client-side execution, instead of `GOARCH=wasm`....
Disclaimer: this is a very rough proposal not immediately planned for implementation. It's been bouncing around my head for a while, though, so I wanted to put it up for...
Example: ```go package main import ( "fmt" ) type arrPtr *[3]byte func main() { var s1 *[3]byte = nil var s2 arrPtr = arrPtr(s1) var s3 arrPtr = nil fmt.Println(s1,...