Many fixes on code quality and CI #129
@@ -182,8 +182,8 @@ services:
|
|||||||
w, h := 100, 100
|
w, h := 100, 100
|
||||||
img := image.NewRGBA(image.Rect(0, 0, w, h))
|
img := image.NewRGBA(image.Rect(0, 0, w, h))
|
||||||
red := color.RGBA{255, 0, 0, 255}
|
red := color.RGBA{255, 0, 0, 255}
|
||||||
for y := 0; y < h; y++ {
|
for y := range h {
|
||||||
for x := 0; x < w; x++ {
|
for x := range w {
|
||||||
img.Set(x, y, red)
|
img.Set(x, y, red)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -252,8 +252,8 @@ services:
|
|||||||
w, h := 100, 100
|
w, h := 100, 100
|
||||||
img := image.NewRGBA(image.Rect(0, 0, w, h))
|
img := image.NewRGBA(image.Rect(0, 0, w, h))
|
||||||
red := color.RGBA{255, 0, 0, 255}
|
red := color.RGBA{255, 0, 0, 255}
|
||||||
for y := 0; y < h; y++ {
|
for y := range h {
|
||||||
for x := 0; x < w; x++ {
|
for x := range w {
|
||||||
img.Set(x, y, red)
|
img.Set(x, y, red)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user