mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-01 07:35:40 +00:00
3e8c502550
To match Record, we'd like Push to return a value. To do that and support the one-line defer op.Push(ops).Pop() Pop needs to use a value receiver as well. Drop the active field and make it so. The field was only a sanity check, a check which is already done by Ops.stackStack, albeit with a less specific panic. Signed-off-by: Elias Naur <mail@eliasnaur.com>