add coveralls steps to the tests #15
@@ -19,10 +19,12 @@ func (d Side) String() string {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// IsBuy returns true if the s == SideBuy
|
||||||
func (d Side) IsBuy() bool {
|
func (d Side) IsBuy() bool {
|
||||||
return d == SideBuy
|
return d == SideBuy
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// IsSell returns true if the s == SideSell
|
||||||
func (d Side) IsSell() bool {
|
func (d Side) IsSell() bool {
|
||||||
return d == SideSell
|
return d == SideSell
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user