diff --git a/ssd1306/image1bit/image1bit.go b/ssd1306/image1bit/image1bit.go index e137e07..50dc370 100644 --- a/ssd1306/image1bit/image1bit.go +++ b/ssd1306/image1bit/image1bit.go @@ -144,17 +144,17 @@ func (i *VerticalLSB) SetBit(x, y int, b Bit) { } // Draw a horizontal line from start to end at ypos -func (i *VerticalLSB)DrawHLine(start, end, ypos int, b Bit) { - for x:=start; x < end; x++ { - i.SetBit(x,ypos,b) - } +func (i *VerticalLSB) DrawHLine(start, end, ypos int, b Bit) { + for x := start; x < end; x++ { + i.SetBit(x, ypos, b) + } } // Draw a vertical line from start to end at xpos -func (i *VerticalLSB)DrawVLine(start, end, xpos int, b Bit) { - for y:=start; y < end; y++ { - i.SetBit(xpos,y,b) - } +func (i *VerticalLSB) DrawVLine(start, end, xpos int, b Bit) { + for y := start; y < end; y++ { + i.SetBit(xpos, y, b) + } } /*