alecthomas / alecthomas/sequel

Assist parent/child hydration

Aberta
#1 0 comentários 0 reações 0 responsáveis Ver no GitHub
enhancement
Linguagem predominante
Go
Estrelas
24
Forks
2
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

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.

Guia de contribuição

Nenhum guia de contribuição indexado para este repositório

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.