alecthomas / alecthomas/sequel
Assist parent/child hydration
Offen
enhancement
- Vorherrschende Sprache
- Go
- Sterne
- 24
- Forks
- 2
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
In practice it's quite common to want to select from a map key, or value. For example, when populating parent objects from child objects, you'll often have a map of `map[ParentID]bool` which you then have to flatten into a `[]ParentID` in order to select from.
Conversely, it's also common to need to be able to use the output of a select as a map in Go, eg. `map[ParentID]*Parent`.
It would be nice to have some clean way of doing both of these things.
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Bewertung
Dieses Issue wurde noch nicht bewertet.