/*
-SGBlog -- Git-backed CGI/inetd blogging/phlogging engine
-Copyright (C) 2020-2021 Sergey Matveev <stargrave@stargrave.org>
+SGBlog -- Git-backed CGI/UCSPI blogging/phlogging/gemlogging engine
+Copyright (C) 2020-2023 Sergey Matveev <stargrave@stargrave.org>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
"encoding/base64"
"errors"
"io"
- "io/ioutil"
"mime"
"mime/multipart"
"mime/quotedprintable"
err = errors.New("no boundary string")
return
}
- data, err := ioutil.ReadAll(msg.Body)
+ data, err := io.ReadAll(msg.Body)
if err != nil {
return
}