update flash.go add set func

issue https://github.com/astaxie/beego/issues/799