Package edcode provides wrapper types that implement encoding.TextMarshaler and encoding.TextUnmarshaler for standard types where Go1 doesn't do this.
Why? Because I got tired of copying this into every application that needs durations in its config files.