Style
This commit is contained in:
parent
eb01a153be
commit
e01811006d
|
@ -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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user