This commit is contained in:
Tamir Duberstein 2015-05-27 19:51:30 -04:00
parent eb01a153be
commit e01811006d

View File

@ -51,8 +51,7 @@ func Translate(c *Config) error {
// Write build tags, if applicable. // Write build tags, if applicable.
if len(c.Tags) > 0 { if len(c.Tags) > 0 {
_, err = fmt.Fprintf(bfd, "// +build %s\n\n", c.Tags) if _, err = fmt.Fprintf(bfd, "// +build %s\n\n", c.Tags); err != nil {
if err != nil {
return err return err
} }
} }