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
Converting a Pages value to a string with warnf results in Pages(2), not ["/tags/markdown", "/tags/html"], which I expected, and which would be more useful for debugging.
The text was updated successfully, but these errors were encountered:
Converting a Pages value to a string with warnf results in Pages(2), not ["/tags/markdown", "/tags/html"], which I expected, and which would be more useful for debugging.
With your simple case, I agree. But what about Pages(23452340598209832452)?
Good point. Perhaps Pages could implement https://pkg.go.dev/fmt#Formatter such that a %+v verb could print the paths, so the default behavior works for large cases, and people can opt into the debugging-friendly behavior when needed.
Converting a Pages value to a string with warnf results in
Pages(2)
, not["/tags/markdown", "/tags/html"]
, which I expected, and which would be more useful for debugging.The text was updated successfully, but these errors were encountered: