run gofmt

License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
This commit is contained in:
Jeromy 2016-10-12 07:00:38 -07:00
parent 7e4b74bf5e
commit affb06d558
8 changed files with 8 additions and 8 deletions

View File

@ -118,7 +118,7 @@ func (s *blockService) AddBlocks(bs []blocks.Block) ([]*cid.Cid, error) {
toput = append(toput, b)
}
} else {
toput = bs;
toput = bs
}
err := s.blockstore.PutMany(toput)

View File

@ -8,13 +8,13 @@ import (
"os"
"path"
context "context"
assets "github.com/ipfs/go-ipfs/assets"
cmds "github.com/ipfs/go-ipfs/commands"
core "github.com/ipfs/go-ipfs/core"
namesys "github.com/ipfs/go-ipfs/namesys"
config "github.com/ipfs/go-ipfs/repo/config"
fsrepo "github.com/ipfs/go-ipfs/repo/fsrepo"
context "context"
)
const (

View File

@ -3,10 +3,10 @@ package core
import (
"testing"
context "context"
"github.com/ipfs/go-ipfs/repo"
config "github.com/ipfs/go-ipfs/repo/config"
"github.com/ipfs/go-ipfs/thirdparty/testutil"
context "context"
)
func TestInitialization(t *testing.T) {

View File

@ -3,9 +3,9 @@ package corerepo
import (
"fmt"
context "context"
"github.com/ipfs/go-ipfs/core"
fsrepo "github.com/ipfs/go-ipfs/repo/fsrepo"
context "context"
)
type Stat struct {

View File

@ -1,10 +1,10 @@
package coreunix
import (
context "context"
core "github.com/ipfs/go-ipfs/core"
path "github.com/ipfs/go-ipfs/path"
uio "github.com/ipfs/go-ipfs/unixfs/io"
context "context"
)
func Cat(ctx context.Context, n *core.IpfsNode, pstr string) (*uio.DagReader, error) {

View File

@ -5,9 +5,9 @@ package ipns
import (
"os"
"context"
"github.com/ipfs/go-ipfs/Godeps/_workspace/src/bazil.org/fuse"
"github.com/ipfs/go-ipfs/Godeps/_workspace/src/bazil.org/fuse/fs"
"context"
)
type Link struct {

View File

@ -9,13 +9,13 @@ import (
"testing"
"time"
context "context"
core "github.com/ipfs/go-ipfs/core"
ipns "github.com/ipfs/go-ipfs/fuse/ipns"
mount "github.com/ipfs/go-ipfs/fuse/mount"
namesys "github.com/ipfs/go-ipfs/namesys"
offroute "github.com/ipfs/go-ipfs/routing/offline"
ci "github.com/ipfs/go-ipfs/thirdparty/testutil/ci"
context "context"
)
func maybeSkipFuseTests(t *testing.T) {

View File

@ -3,10 +3,10 @@ package helpers
import (
"fmt"
"context"
chunk "github.com/ipfs/go-ipfs/importer/chunk"
dag "github.com/ipfs/go-ipfs/merkledag"
ft "github.com/ipfs/go-ipfs/unixfs"
"context"
)
// BlockSizeLimit specifies the maximum size an imported block can have.