Merge pull request #1010 from petuhovskiy/patch-1

Fix markdown code line
This commit is contained in:
astaxie
2018-09-30 15:28:20 +08:00
committed by GitHub

View File

@@ -216,7 +216,7 @@ We define some constants and customized types.
Then we defined some methods for our customized types.
- `Volume()` uses Box as its receiver and returns the volume of Box.
- `SetColor(`c Color) changes Box's color.
- `SetColor(c Color)` changes Box's color.
- `BiggestsColor()` returns the color which has the biggest volume.
- `PaintItBlack()` sets color for all Box in BoxList to black.
- `String()` use Color as its receiver, returns the string format of color name.