Commit 6b4b8072 authored by Han-Wen Nienhuys's avatar Han-Wen Nienhuys

Run gofmt.

parent 014829e8
...@@ -4,8 +4,8 @@ package main ...@@ -4,8 +4,8 @@ package main
import ( import (
"flag" "flag"
"log"
"github.com/hanwen/go-fuse/fuse" "github.com/hanwen/go-fuse/fuse"
"log"
"os" "os"
) )
......
...@@ -4,12 +4,12 @@ ...@@ -4,12 +4,12 @@
package main package main
import ( import (
"github.com/hanwen/go-fuse/fuse" "flag"
"fmt" "fmt"
"github.com/hanwen/go-fuse/fuse"
"log"
"os" "os"
"flag"
"runtime" "runtime"
"log"
) )
var _ = runtime.GOMAXPROCS var _ = runtime.GOMAXPROCS
......
package main package main
import ( import (
"flag"
"fmt"
"github.com/hanwen/go-fuse/fuse" "github.com/hanwen/go-fuse/fuse"
"github.com/hanwen/go-fuse/zipfs" "github.com/hanwen/go-fuse/zipfs"
"fmt"
"flag"
"log" "log"
"os" "os"
) )
......
...@@ -3,9 +3,9 @@ package main ...@@ -3,9 +3,9 @@ package main
import ( import (
"flag" "flag"
"fmt" "fmt"
"log"
"github.com/hanwen/go-fuse/fuse" "github.com/hanwen/go-fuse/fuse"
"github.com/hanwen/go-fuse/unionfs" "github.com/hanwen/go-fuse/unionfs"
"log"
"os" "os"
) )
......
package main package main
import ( import (
"flag"
"fmt"
"github.com/hanwen/go-fuse/fuse" "github.com/hanwen/go-fuse/fuse"
"github.com/hanwen/go-fuse/zipfs" "github.com/hanwen/go-fuse/zipfs"
"fmt"
"flag"
"log" "log"
"os" "os"
) )
......
package fuse package fuse
import ( import (
"sync"
"fmt" "fmt"
"unsafe"
"log" "log"
"sync"
"unsafe"
) )
var _ = log.Println var _ = log.Println
......
package fuse package fuse
import ( import (
"testing"
"fmt" "fmt"
"testing"
) )
var _ = fmt.Println var _ = fmt.Println
......
package fuse package fuse
import ( import (
"testing"
"io/ioutil" "io/ioutil"
"os" "os"
"testing"
) )
func TestCopyFile(t *testing.T) { func TestCopyFile(t *testing.T) {
......
...@@ -3,8 +3,8 @@ package fuse ...@@ -3,8 +3,8 @@ package fuse
import ( import (
"io/ioutil" "io/ioutil"
"os" "os"
"testing"
"syscall" "syscall"
"testing"
) )
func TestOsErrorToErrno(t *testing.T) { func TestOsErrorToErrno(t *testing.T) {
......
package fuse package fuse
import ( import (
"io/ioutil"
"os" "os"
"path/filepath"
"testing" "testing"
"time" "time"
"path/filepath"
"io/ioutil"
) )
func TestMountOnExisting(t *testing.T) { func TestMountOnExisting(t *testing.T) {
......
package fuse package fuse
import ( import (
"path/filepath"
"os" "os"
"path/filepath"
"sort" "sort"
"strings" "strings"
"syscall" "syscall"
......
...@@ -2,8 +2,8 @@ package fuse ...@@ -2,8 +2,8 @@ package fuse
import ( import (
"bytes" "bytes"
"syscall"
"fmt" "fmt"
"syscall"
"unsafe" "unsafe"
) )
......
...@@ -3,10 +3,10 @@ package fuse ...@@ -3,10 +3,10 @@ package fuse
import ( import (
"bytes" "bytes"
"io/ioutil" "io/ioutil"
"testing"
"log" "log"
"path/filepath"
"os" "os"
"path/filepath"
"testing"
) )
var _ = log.Print var _ = log.Print
......
package unionfs package unionfs
import ( import (
"os" "fmt"
"github.com/hanwen/go-fuse/fuse" "github.com/hanwen/go-fuse/fuse"
"io/ioutil" "io/ioutil"
"fmt"
"log" "log"
"os"
"testing" "testing"
) )
......
package unionfs package unionfs
import ( import (
"os" "fmt"
"github.com/hanwen/go-fuse/fuse" "github.com/hanwen/go-fuse/fuse"
"io/ioutil" "io/ioutil"
"fmt"
"log" "log"
"os"
"syscall" "syscall"
"testing" "testing"
) )
......
...@@ -2,8 +2,8 @@ package unionfs ...@@ -2,8 +2,8 @@ package unionfs
import ( import (
"github.com/hanwen/go-fuse/fuse" "github.com/hanwen/go-fuse/fuse"
"sync"
"log" "log"
"sync"
"time" "time"
) )
......
...@@ -6,8 +6,8 @@ import ( ...@@ -6,8 +6,8 @@ import (
"log" "log"
"os" "os"
"path/filepath" "path/filepath"
"strings"
"sort" "sort"
"strings"
"sync" "sync"
"time" "time"
) )
......
...@@ -2,11 +2,11 @@ package unionfs ...@@ -2,11 +2,11 @@ package unionfs
import ( import (
"exec" "exec"
"os" "fmt"
"github.com/hanwen/go-fuse/fuse" "github.com/hanwen/go-fuse/fuse"
"io/ioutil" "io/ioutil"
"fmt"
"log" "log"
"os"
"path/filepath" "path/filepath"
"syscall" "syscall"
"testing" "testing"
......
...@@ -3,14 +3,13 @@ package unionfs ...@@ -3,14 +3,13 @@ package unionfs
import ( import (
"fmt" "fmt"
"log" "log"
"time"
"testing" "testing"
"time"
) )
var _ = fmt.Print var _ = fmt.Print
var _ = log.Print var _ = log.Print
func TestTimedCacheUncacheable(t *testing.T) { func TestTimedCacheUncacheable(t *testing.T) {
fetchCount := 0 fetchCount := 0
fetch := func(n string) (interface{}, bool) { fetch := func(n string) (interface{}, bool) {
......
...@@ -2,11 +2,11 @@ package unionfs ...@@ -2,11 +2,11 @@ package unionfs
import ( import (
"exec" "exec"
"os" "fmt"
"github.com/hanwen/go-fuse/fuse" "github.com/hanwen/go-fuse/fuse"
"io/ioutil" "io/ioutil"
"fmt"
"log" "log"
"os"
"path/filepath" "path/filepath"
"syscall" "syscall"
"testing" "testing"
......
...@@ -7,10 +7,10 @@ import ( ...@@ -7,10 +7,10 @@ import (
"fmt" "fmt"
"github.com/hanwen/go-fuse/fuse" "github.com/hanwen/go-fuse/fuse"
"io" "io"
"log"
"os" "os"
"path/filepath" "path/filepath"
"strings" "strings"
"log"
) )
var _ = log.Printf var _ = log.Printf
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment