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
NewSliceOfStructs() currently returns slice of dynamic struct with 0 capcity. This is causing memory leak issues in my case (where we need to unmarshall sqlx.Rows output to slice of dynamic struct). It would be better if it takes capacity as input and returns the slice with the given capacity.
The text was updated successfully, but these errors were encountered:
NewSliceOfStructs() currently returns slice of dynamic struct with 0 capcity. This is causing memory leak issues in my case (where we need to unmarshall sqlx.Rows output to slice of dynamic struct). It would be better if it takes capacity as input and returns the slice with the given capacity.
The text was updated successfully, but these errors were encountered: