Allow ReadAll only if explicit allowed #13

Open
opened 2021-02-05 19:00:57 +00:00 by 6543 · 1 comment
Owner

only allow it if we explicit allow it if we put a //allow ReadAll in fromt of
ioutil.ReadAll since it can fill up memory just to easy ...

only allow it if we explicit allow it if we put a //allow ReadAll in fromt of `ioutil.ReadAll` since it can fill up memory just to easy ...
Owner

Just something to note for the upcoming 1.16 release of Go.

https://tip.golang.org/doc/go1.16#ioutil

ioutil.ReadAll => io.ReadAll

Just something to note for the upcoming 1.16 release of Go. https://tip.golang.org/doc/go1.16#ioutil > `ioutil.ReadAll` => `io.ReadAll`
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: gitea/gitea-vet#13
No description provided.