From d7c0e9a26bef0a43dfcd05223f226a8da570f70f Mon Sep 17 00:00:00 2001 From: MahnoKropotkinvich Date: Tue, 24 Dec 2024 21:12:49 +0800 Subject: [PATCH] code cleanup --- ds.go | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/ds.go b/ds.go index 37ed552..ea4b423 100644 --- a/ds.go +++ b/ds.go @@ -64,15 +64,9 @@ type modify_t[T constraints.Ordered] struct { ch chan T } type DynamicMultiChan[T constraints.Ordered] struct { - TX chan T - RX chan T - // used map[int]bool - // list []chan T - // reloadTX chan struct{} - // reloadRX chan struct{} - // selectCases []reflect.SelectCase - reply bool - // delta *Stack[int] + TX chan T + RX chan T + reply bool modify chan modify_t[T] }