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
It would be nice to have a helper function to turn a URL into a normalized ID. I've written it myself a couple of times for different projects, but it seems like something that could be built in. I'm happy to open a PR if you're interested in this. A couple of different APIs are possible but the simplest seems like
// NormalizeID turns a Google Sheet URL into a normalized ID.// It returns a normalized ID as is.// If s does not look like a Google Sheet URL or a normalized ID, it returns "".funcNormalizeID(sstring) string
The text was updated successfully, but these errors were encountered:
It would be nice to have a helper function to turn a URL into a normalized ID. I've written it myself a couple of times for different projects, but it seems like something that could be built in. I'm happy to open a PR if you're interested in this. A couple of different APIs are possible but the simplest seems like
The text was updated successfully, but these errors were encountered: