ISO 8601 duration Go utilities.
Via go get tool
$ go get github.com/alfonmga/iso8601_duration
Browse the docs for the available functions.
I built this because I wanted to convert YouTube ISO 8601 durations to seconds. Check out the tests and use this lib at your own risk. The current implementation may panic if an invalid ISO 8601 duration string is provided.