types: merge field decls

This commit is contained in:
c9s 2021-07-08 10:41:01 +08:00
parent 44a0b10240
commit db7a681290

View File

@ -11,8 +11,7 @@ import (
)
type PriceVolume struct {
Price fixedpoint.Value
Volume fixedpoint.Value
Price, Volume fixedpoint.Value
}
func (p PriceVolume) String() string {