Imports github.com/astaxie/beego/utils github.com/astaxie/beego/cache github.com/astaxie/beego/context github.com/astaxie/beego Standard library imports io math net/http path strings sync image bytes crypto/rand encoding/binary fmt html/template image/color image/png