summaryrefslogtreecommitdiff
path: root/doc/progs/image_draw.go
diff options
context:
space:
mode:
authorRob Pike <r@golang.org>2012-03-23 17:02:21 +1100
committerRob Pike <r@golang.org>2012-03-23 17:02:21 +1100
commitfc9f65a6a09377b49e7b21bb8dcad3a2260edfb8 (patch)
tree30f22971d5e04c57504b0692795139ba5ae55313 /doc/progs/image_draw.go
parentf39ff80beaab4b366917575e5addcbdd551563c2 (diff)
downloadgo-git-fc9f65a6a09377b49e7b21bb8dcad3a2260edfb8.tar.gz
doc/articles/image_draw.html: fix circle example
It was showing the same snippet twice instead of the type definition and snippet. R=golang-dev, iant CC=golang-dev https://golang.org/cl/5875045
Diffstat (limited to 'doc/progs/image_draw.go')
-rw-r--r--doc/progs/image_draw.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/progs/image_draw.go b/doc/progs/image_draw.go
index f3400b601b..2cc5c632f3 100644
--- a/doc/progs/image_draw.go
+++ b/doc/progs/image_draw.go
@@ -117,7 +117,7 @@ func Glyph() {
// STOP OMIT
}
-//CIRCLE OMIT
+//CIRCLESTRUCT OMIT
type circle struct {
p image.Point
r int
@@ -139,4 +139,4 @@ func (c *circle) At(x, y int) color.Color {
return color.Alpha{0}
}
-//STOP
+//STOP OMIT