mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-11-17 17:26:06 +01:00
go fmt
This commit is contained in:
1 parent
f937933b3d
commit
253dd20bc6
1 file changed
+2
-2
@@ -20,7 +20,7 @@ func init() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type TikvStore struct {
|
type TikvStore struct {
|
||||||
store kv.Storage
|
store kv.Storage
|
||||||
}
|
}
|
||||||
|
|
||||||
func (store *TikvStore) GetName() string {
|
func (store *TikvStore) GetName() string {
|
||||||
@@ -206,7 +206,7 @@ func getNameFromKey(key []byte) string {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// hash directory
|
// hash directory
|
||||||
func hashToBytes(dir string) ([]byte) {
|
func hashToBytes(dir string) []byte {
|
||||||
h := md5.New()
|
h := md5.New()
|
||||||
io.WriteString(h, dir)
|
io.WriteString(h, dir)
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user