splish-splash

This commit is contained in:
A.Unger
2020-01-31 10:36:58 +01:00
parent b99eff460f
commit 16401c1ffb
2 changed files with 3 additions and 3 deletions

View File

@@ -5,8 +5,9 @@ package proto
import (
fmt "fmt"
proto "github.com/golang/protobuf/proto"
math "math"
proto "github.com/golang/protobuf/proto"
)
// Reference imports to suppress errors if they are not otherwise used.

View File

@@ -4,7 +4,6 @@ package store
import (
"fmt"
"io/ioutil"
"log"
mstore "github.com/micro/go-micro/v2/store"
)
@@ -42,7 +41,7 @@ func (s *Store) Write(rec *mstore.Record) error {
}
if err := ioutil.WriteFile(s.mountPath+"/"+rec.Key, rec.Value, 0644); err != nil {
log.Panic(err)
// TODO handle error
}
return nil
}