From fe47a2e9d7c333e07b91a487fd844c8c5cdb1531 Mon Sep 17 00:00:00 2001 From: "legoff.laurent" Date: Tue, 22 Mar 2011 20:58:56 +0100 Subject: [PATCH] gofmt --- cmd/testpostscript.go | 2 +- draw2d/gc.go | 2 +- draw2d/vertex2d.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cmd/testpostscript.go b/cmd/testpostscript.go index 24b83e0..81d8736 100644 --- a/cmd/testpostscript.go +++ b/cmd/testpostscript.go @@ -46,7 +46,7 @@ func main() { lastTime := time.Nanoseconds() src, err := os.Open("../resource/postscript/Mand.ps", 0, 0) if err != nil { - return + return } defer src.Close() bytes, err := ioutil.ReadAll(src) diff --git a/draw2d/gc.go b/draw2d/gc.go index 8ff6d30..94ab547 100644 --- a/draw2d/gc.go +++ b/draw2d/gc.go @@ -44,4 +44,4 @@ type GraphicContext interface { Stroke(paths ...*PathStorage) Fill(paths ...*PathStorage) FillStroke(paths ...*PathStorage) -} \ No newline at end of file +} diff --git a/draw2d/vertex2d.go b/draw2d/vertex2d.go index 3822fcc..c544cd5 100644 --- a/draw2d/vertex2d.go +++ b/draw2d/vertex2d.go @@ -15,4 +15,4 @@ const ( type VertexConverter interface { NextCommand(cmd VertexCommand) Vertex(x, y float64) -} \ No newline at end of file +}