go-unit This repo contains an alias for struct{}, Unit. You can write ch <- UnitVal now, instead of ch <- struct{}{}.