alecthomas / alecthomas/sequel

Assist parent/child hydration

Aperta
#1 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
enhancement
Lingua principale
Go
Stelle
24
Fork
2
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.