My team recently cleaned up an API in an internal storage library. While it’s a simple case, it covers a couple interesting language tools and tradeoffs. Let’s dig in! The starting pointIt’s a function called enumStoreKeys that returns a Set of StoreKey enums for a given classKey.