atc0005 / learn

Various topics that I want to learn more about, either for professional development or for my own use
0 stars 0 forks source link

Go | Force use of Stringer implementation for "printing" types #86

Open atc0005 opened 4 years ago

atc0005 commented 4 years ago

https://github.com/letsencrypt/boulder/commit/be2b19efee60cb7d7c6651b821b97ad2b6ce9326

I believe that this is an example of forcing the Stringer implementation to be used (%s) instead of the default representation (%v). I need to confirm that however.