Skip to content
This repository has been archived by the owner on Feb 14, 2023. It is now read-only.

implement 'stringer' interface for strava types #13

Open
nickbroon opened this issue Jul 4, 2016 · 1 comment
Open

implement 'stringer' interface for strava types #13

nickbroon opened this issue Jul 4, 2016 · 1 comment

Comments

@nickbroon
Copy link

It would be a great and very useful enhancement, especially for quick debug dumping, if the stringer interface was implemented for the various stava types.

https://golang.org/pkg/fmt/#Stringer
which consists of only String() string

It would be great to see this for at least ActivitySummary, AthleteSummary SegmentSummary, and the Detailed extension to these.

@mtpereira
Copy link

Hey! I'm currently working on this issue. Is there any standard or desired formatting for it? At the moment, I'm doing fieldName : fieldValue, one per line.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants