Browse Source

go fmt

pull/1355/head
Chris Lu 5 years ago
parent
commit
45a9d852d3
  1. 2
      weed/messaging/msgclient/subscriber.go
  2. 1
      weed/stats/disk_windows.go

2
weed/messaging/msgclient/subscriber.go

@ -3,8 +3,8 @@ package msgclient
import ( import (
"context" "context"
"io" "io"
"time"
"sync" "sync"
"time"
"github.com/chrislusf/seaweedfs/weed/messaging/broker" "github.com/chrislusf/seaweedfs/weed/messaging/broker"
"github.com/chrislusf/seaweedfs/weed/pb/messaging_pb" "github.com/chrislusf/seaweedfs/weed/pb/messaging_pb"

1
weed/stats/disk_windows.go

@ -6,6 +6,7 @@ import (
"syscall" "syscall"
"unsafe" "unsafe"
) )
var ( var (
kernel32 = windows.NewLazySystemDLL("Kernel32.dll") kernel32 = windows.NewLazySystemDLL("Kernel32.dll")
getDiskFreeSpaceEx = kernel32.NewProc("GetDiskFreeSpaceExW") getDiskFreeSpaceEx = kernel32.NewProc("GetDiskFreeSpaceExW")

Loading…
Cancel
Save