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 +}