follow golint suggestions

This commit is contained in:
chrislusf
2015-03-10 00:20:31 -07:00
parent b4cb8bfd27
commit b07d81fb08
26 changed files with 570 additions and 101 deletions

View File

@@ -96,7 +96,7 @@ func getMetric(c *cdb.Cdb, m *mapMetric) error {
func (m cdbMap) Get(key uint64) (element *NeedleValue, ok bool) {
var (
data []byte
k []byte = make([]byte, 8)
k = make([]byte, 8)
err error
)
util.Uint64toBytes(k, key)