jonwillia.ms/oselect (go): Package oselect allows deterministic ordering for case labels in select statements. For example this contrived example of trying to prioritize ui events in a loop:  becomes:  Whether or not this is useful is left as an exercise to the reader.
Keywords: channels|generics|go|golang|select