mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
go fmt
This commit is contained in:
parent
5753749c90
commit
55a8f57381
|
@ -33,7 +33,6 @@ func StreamContent(masterClient wdclient.HasLookupFileIdFunction, w io.Writer, c
|
||||||
fileId2Url[chunkView.FileId] = urlStrings
|
fileId2Url[chunkView.FileId] = urlStrings
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
for _, chunkView := range chunkViews {
|
for _, chunkView := range chunkViews {
|
||||||
|
|
||||||
urlStrings := fileId2Url[chunkView.FileId]
|
urlStrings := fileId2Url[chunkView.FileId]
|
||||||
|
|
|
@ -270,6 +270,7 @@ func (wfs *WFS) LookupFn() wdclient.LookupFileIdFunctionType {
|
||||||
}
|
}
|
||||||
|
|
||||||
type NodeWithId uint64
|
type NodeWithId uint64
|
||||||
|
|
||||||
func (n NodeWithId) Id() uint64 {
|
func (n NodeWithId) Id() uint64 {
|
||||||
return uint64(n)
|
return uint64(n)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue