From a347443c8110e9773b4212e362f739a17dea2423 Mon Sep 17 00:00:00 2001 From: Natercio Moniz Date: Thu, 20 Nov 2025 19:41:12 +0000 Subject: [PATCH] add comments to side methods --- internal/side.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/internal/side.go b/internal/side.go index 52d0921..0f16ee9 100644 --- a/internal/side.go +++ b/internal/side.go @@ -19,10 +19,12 @@ func (d Side) String() string { } } +// IsBuy returns true if the s == SideBuy func (d Side) IsBuy() bool { return d == SideBuy } +// IsSell returns true if the s == SideSell func (d Side) IsSell() bool { return d == SideSell }