You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
package: /gogf/gf/[email protected]/internal/utils/utils_io.go:20
suggestion: why not export a function, called GetContent eg. so we can direct access ReadCloser.content. we all know, io.ReadAll behave bad when data is too big. With a funciton which can aceess content, we no need to use io.ReadAll, so that we can reduce memery usage.
The text was updated successfully, but these errors were encountered:
package: /gogf/gf/[email protected]/internal/utils/utils_io.go:20
suggestion: why not export a function, called GetContent eg. so we can direct access ReadCloser.content. we all know, io.ReadAll behave bad when data is too big. With a funciton which can aceess content, we no need to use io.ReadAll, so that we can reduce memery usage.
The text was updated successfully, but these errors were encountered: