Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Column ¶ added in v0.24.0
func Column[K, T any](slice []T, column func(item T) K) []K
Column get column from slice
func Join ¶
func Join[LE, RE, R any]( left []LE, right []RE, match func(lele LE, rele RE) bool, mapper func(lele LE, rele RE) R, ) []R
Join nested loop,no limit about condition
func JoinByKey ¶
func JoinByKey[K comparable, LE, RE, R any]( left []LE, right []RE, leftKey func(item LE) K, rightKey func(item RE) K, mapper func(lele LE, rele RE) R, ) []R
JoinByKey hash join, must be '=' condition
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.