consistent

This commit is contained in:
Mark McGranaghan 2012-10-26 07:33:45 -07:00
parent 623da5d093
commit 3ead9c1397

View File

@ -53,8 +53,9 @@ func main() {
s := square{width: 3, height: 4}
c := circle{radius: 5}
// The `circle` and `square` struct types both satisfy
// the `geometry` interface so we can use instances of
// The `circle` and `square` struct types both
// implement the `geometry` interface so we can use
// instances of
// these structs as arguments to `measure.
measure(s)
measure(c)