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
This won't work, since v.s is backed by byte slice, which changes on the next Parser.Parse call. This means that the returned string contents will become garbage on the next Parser.Parse call.
Could we get a function to just return the
string
type instead of a byte slice?I often just need the
string
and noticedGetStringByte
is actually converting the underlying string to a byte.The text was updated successfully, but these errors were encountered: