4 ms·
Check this out. With this tool, the type switch gets you exhaustiveness checks for hokey package-private sum-types in Go :) https://github.com/BurntSushi/go-su
by frou_dh 9y ago
Check this out. With this tool, the type switch gets you exhaustiveness checks for hokey package-private sum-types in Go :)
https://github.com/BurntSushi/go-sumtype https://github.com/BurntSushi/go-sumtype