From e01811006db5ac63e209e1baa14847ff913540a8 Mon Sep 17 00:00:00 2001 From: Tamir Duberstein Date: Wed, 27 May 2015 19:51:30 -0400 Subject: [PATCH] Style --- convert.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/convert.go b/convert.go index 483c189..14bd24a 100644 --- a/convert.go +++ b/convert.go @@ -51,8 +51,7 @@ func Translate(c *Config) error { // Write build tags, if applicable. if len(c.Tags) > 0 { - _, err = fmt.Fprintf(bfd, "// +build %s\n\n", c.Tags) - if err != nil { + if _, err = fmt.Fprintf(bfd, "// +build %s\n\n", c.Tags); err != nil { return err } }