mirror of
https://github.com/astaxie/beego.git
synced 2025-01-09 22:57:28 +00:00
c998e52cc0
When io.Reader is required out of []byte, it's better to use bytes.NewReader than bytes.NewBuffer. Signed-off-by: Iskander Sharipov <quasilyte@gmail.com>