Crimes with Go Generics
I don’t think the Option presented here is sufficient (it is indeed a “crime”) as you cannot express Some(nil).But you could probably achieve that using go's not-well-known sum types, e.g. like thishttps://github.com/FSMaxB/type-safe-builder-experiment/blob/...