go fmt fixes

This commit is contained in:
Sergei Antipov 2016-02-12 13:29:57 +06:00
parent 412df15265
commit 5b2fe65d14
1 changed files with 13 additions and 13 deletions

View File

@ -27,7 +27,7 @@ func NewZabbixMetric(host, key, value string) *ZabbixMetric {
Host: host, Host: host,
Key: key, Key: key,
Value: value, Value: value,
Timestamp: time.Now().Unix() Timestamp: time.Now().Unix(),
} }
return m return m
} }
@ -44,7 +44,7 @@ func NewZabbixPacket(data []*ZabbixMetric) *ZabbixPacket {
p := &ZabbixPacket{ p := &ZabbixPacket{
Request: `sender data`, Request: `sender data`,
Data: data, Data: data,
Timestamp: time.Now().Unix() Timestamp: time.Now().Unix(),
} }
return p return p
} }