From db7a6812903b958cc70db9dbd50156e210863aa2 Mon Sep 17 00:00:00 2001 From: c9s Date: Thu, 8 Jul 2021 10:41:01 +0800 Subject: [PATCH] types: merge field decls --- pkg/types/orderbook.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pkg/types/orderbook.go b/pkg/types/orderbook.go index 62e36327c..49480ab04 100644 --- a/pkg/types/orderbook.go +++ b/pkg/types/orderbook.go @@ -11,8 +11,7 @@ import ( ) type PriceVolume struct { - Price fixedpoint.Value - Volume fixedpoint.Value + Price, Volume fixedpoint.Value } func (p PriceVolume) String() string {