My string splitting skills are really poor using Go. I don't know why but I just can't wrap my head around this one and I've tried different ways to do what I need but I always get the wrong output.
I have this string:
https://docs.google.com/spreadsheets/d/1k2RNDSh6K7jH3fezjjfgVrHqVstBF569al4F28hqAM/edit#gid=0
I need to get a key from this URL that is found after '/d/' up until the next '/'.
So the key in this case would be:
1k2RNDSh6K7jH3fezjjfgVrHqVstBF569al4F28hqAM
How would I go about doing this?