Draw a rectangle in Golang?
The standard Go library does not provide primitive drawing or painting capabilities. What it provides is models for colors (image/color package) and an Image interface with several implementations (image package). The blog post The Go Image package is a good introduction to this. It also provides a capability to combine images (e.g. draw them on … Read more