3 ms·
I wrote a few go libraries. The most recent one is to implement python's defaultdict in go: https://pkg.go.dev/go.yhsif.com/defaultdict https://pkg.go.dev/go.yh
by fishywang 5y ago
I wrote a few go libraries. The most recent one is to implement python's defaultdict in go: https://pkg.go.dev/go.yhsif.com/defaultdict https://pkg.go.dev/go.yhsif.com/defaultdict
I originally implemented that for my rowlock library (https://pkg.go.dev/go.yhsif.com/rowlock https://pkg.go.dev/go.yhsif.com/rowlock) a few years ago. But there was some recent other work requires something similar, so I extracted the defaultdict portion out to be in its own library.