๐Ÿ“ฆ karalabe / go-init-bug

๐Ÿ“„ README.md ยท 10 lines
1
2
3
4
5
6
7
8
9
10The `good` and `bad` package contains the exact same code, but the build order of the files is different (a.go renamed to c.go in one vs the other). You can flip the faulty/good behavior in those packages by renaming the files.

```go
% go run main.go

Good order: 220
Bad order:  0
```