Documentation ¶ Index ¶ Constants type Side func Get(s string) Side func (s Side) ForLog() string func (s Side) ForLogPosition() string func (s Side) IsBuy() bool func (s Side) IsSell() bool func (s Side) Position() string func (s Side) String() string Constants ¶ View Source const ( Buy = Side(1) Sell = Side(-1) DEFAULT = Side(0) ) Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Side ¶ type Side int func Get ¶ func Get(s string) Side func (Side) ForLog ¶ func (s Side) ForLog() string func (Side) ForLogPosition ¶ func (s Side) ForLogPosition() string func (Side) IsBuy ¶ func (s Side) IsBuy() bool func (Side) IsSell ¶ func (s Side) IsSell() bool func (Side) Position ¶ func (s Side) Position() string func (Side) String ¶ func (s Side) String() string Source Files ¶ View all Source files side.go Click to show internal directories. Click to hide internal directories.