unit: clean up lint

This commit is contained in:
Dan Kortschak
2019-11-02 07:50:06 +10:30
parent 8a8ca5dcda
commit ad7fbd52c6

View File

@@ -269,8 +269,6 @@ func (u *UnitStruct) Mul(aU UnitStructer) *UnitStruct {
return u
}
var u3 *UnitStruct
func BenchmarkAddStruct(b *testing.B) {
u1 := &UnitStruct{current: 1, chemamt: 5, value: 10}
u2 := &UnitStruct{current: 1, chemamt: 5, value: 100}