render.go : This File Contains the implementation for the Renderer which is a channel that will receive strings to the path of decoded images) the path is sent with the help of Send() method. The Start() method starts the go routine OpenImage() this function blocks the image as it keeps listening over the channel. which helps in not drawing the image again and again. imageUtils.go: This file contains the helper function for decoding images.
1.3 KiB
1.3 KiB