From 5125060a1726c795219350c01ca23f1f99d9b08c Mon Sep 17 00:00:00 2001 From: Stefan Majewsky Date: Tue, 10 Nov 2026 00:53:34 +0100 Subject: move RuntimeIndex --- oblast.go | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'oblast.go') diff --git a/oblast.go b/oblast.go index 66b31b7..6f99e6f 100644 --- a/oblast.go +++ b/oblast.go @@ -79,3 +79,11 @@ func TupleSelect[R any](ctx context.Context, db gsql.Handle, query string, args func TupleSelectOne[R any](ctx context.Context, db gsql.Handle, query string, args ...any) (R, error) { return gg_oblast.TupleSelectOne[R](ctx, db, query, args...) } + +// RuntimeIndex has moved to gg/oblast (follow the link below). +type RuntimeIndex[R any, K comparable] = gg_oblast.RuntimeIndex[R, K] + +// NewRuntimeIndex has moved to gg/oblast (follow the link below). +func NewRuntimeIndex[R any, K comparable](f func(R) K) RuntimeIndex[R, K] { + return gg_oblast.NewRuntimeIndex(f) +} -- cgit v1.3.1