V3: [Go] Use consistent formatting for output in examples

Created on 16 Jul 2020  路  3Comments  路  Source: exercism/v3

Looking at the existing Go exercises, there is some inconsistency regarding the format used to show the result of calling a function in examples found in instructions.md files. I've found the following variants:

  • // Output: X
  • // => X
  • // Returns: X

It would be good to standardize on one format. I have no preference, while noting that there are a couple of tracks that use =>. But it should use what makes sense most for Go.

tracgo typimprove-exercise

Most helpful comment

I can look into this and make it consistent across all exercises.

All 3 comments

I can look into this and make it consistent across all exercises.

I made the changes and it should be consistent across all exercises.

Great!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

tehsphinx picture tehsphinx  路  6Comments

kotp picture kotp  路  3Comments

ErikSchierboom picture ErikSchierboom  路  6Comments

oanaOM picture oanaOM  路  6Comments

valentin-p picture valentin-p  路  5Comments