Skip to content

Commit

Permalink
fixed imported packages
Browse files Browse the repository at this point in the history
  • Loading branch information
Lucas Wang committed Jan 16, 2019
1 parent 2208e42 commit 51683bb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 10 deletions.
11 changes: 3 additions & 8 deletions dgraph/cmd/increment/increment.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,11 @@ import (
"log"
"time"

"github.com/spf13/viper"

"github.com/spf13/cobra"

"github.com/dgraph-io/dgraph/x"

"github.com/dgraph-io/dgo"
"github.com/dgraph-io/dgo/protos/api"
"github.com/dgraph-io/dgraph/x"
"github.com/spf13/cobra"
"github.com/spf13/viper"
"google.golang.org/grpc"
)

Expand All @@ -56,8 +53,6 @@ func init() {
flag.String("pred", "counter.val", "Predicate to use for storing the counter.")
}

var ()

type Counter struct {
Uid string `json:"uid"`
Val int `json:"val"`
Expand Down
3 changes: 1 addition & 2 deletions dgraph/cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,12 @@ import (
"fmt"
"os"

"github.com/dgraph-io/dgraph/dgraph/cmd/increment"

"github.com/dgraph-io/dgraph/dgraph/cmd/alpha"
"github.com/dgraph-io/dgraph/dgraph/cmd/bulk"
"github.com/dgraph-io/dgraph/dgraph/cmd/cert"
"github.com/dgraph-io/dgraph/dgraph/cmd/conv"
"github.com/dgraph-io/dgraph/dgraph/cmd/debug"
"github.com/dgraph-io/dgraph/dgraph/cmd/increment"
"github.com/dgraph-io/dgraph/dgraph/cmd/live"
"github.com/dgraph-io/dgraph/dgraph/cmd/version"
"github.com/dgraph-io/dgraph/dgraph/cmd/zero"
Expand Down

0 comments on commit 51683bb

Please sign in to comment.