From c65eafd8b1a005aad744b43e94e5f3345d7a5ddd Mon Sep 17 00:00:00 2001 From: btracey Date: Wed, 9 Oct 2013 13:07:30 -0700 Subject: [PATCH] Fixed formatting of Dimension docstring --- unittype.go | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/unittype.go b/unittype.go index 8f0cb328..8fe57c74 100644 --- a/unittype.go +++ b/unittype.go @@ -16,14 +16,14 @@ type Uniter interface { // orthogonal dimension. If a new dimension is desired for a // domain-specific problem, NewDimension should be used. Integers // should never be cast as type dimension -// // Good: Create a package constant with an init function -// var MyDimension unit.Dimension -// init(){ -// MyDimension = NewDimension("my") -// } -// main(){ -// var := MyDimension(28.2) -// } +// // Good: Create a package constant with an init function +// var MyDimension unit.Dimension +// init(){ +// MyDimension = NewDimension("my") +// } +// main(){ +// var := MyDimension(28.2) +// } type Dimension int const (