alecthomas / alecthomas/sequel

Assist parent/child hydration

Đang mở
#1 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
enhancement
Ngôn ngữ chính
Go
Star
24
Fork
2
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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.

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.