Skip to content

Commit

Permalink
Merge pull request #243 from yoheimuta/go1.7-context
Browse files Browse the repository at this point in the history
Moved golang.org/x/net/context to context
  • Loading branch information
kotakanbe authored Nov 7, 2016
2 parents 159f261 + 8ac00f6 commit 1bbf320
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion commands/configtest.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
package commands

import (
"context"
"flag"
"io/ioutil"
"os"
Expand All @@ -26,7 +27,6 @@ import (

"github.com/Sirupsen/logrus"
"github.com/google/subcommands"
"golang.org/x/net/context"

c "github.com/future-architect/vuls/config"
"github.com/future-architect/vuls/scan"
Expand Down
2 changes: 1 addition & 1 deletion commands/discover.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
package commands

import (
"context"
"flag"
"fmt"
"os"
"strings"
"text/template"

"github.com/google/subcommands"
"golang.org/x/net/context"

"github.com/Sirupsen/logrus"
ps "github.com/kotakanbe/go-pingscanner"
Expand Down
2 changes: 1 addition & 1 deletion commands/history.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
package commands

import (
"context"
"flag"
"fmt"
"io/ioutil"
Expand All @@ -28,7 +29,6 @@ import (
c "github.com/future-architect/vuls/config"
"github.com/future-architect/vuls/report"
"github.com/google/subcommands"
"golang.org/x/net/context"
)

// HistoryCmd is Subcommand of list scanned results
Expand Down
2 changes: 1 addition & 1 deletion commands/prepare.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
package commands

import (
"context"
"flag"
"os"
"path/filepath"
Expand All @@ -27,7 +28,6 @@ import (
"github.com/future-architect/vuls/scan"
"github.com/future-architect/vuls/util"
"github.com/google/subcommands"
"golang.org/x/net/context"
)

// PrepareCmd is Subcommand of host discovery mode
Expand Down
2 changes: 1 addition & 1 deletion commands/scan.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
package commands

import (
"context"
"flag"
"fmt"
"io/ioutil"
Expand All @@ -34,7 +35,6 @@ import (
"github.com/future-architect/vuls/util"
"github.com/google/subcommands"
"github.com/k0kubun/pp"
"golang.org/x/net/context"
)

// ScanCmd is Subcommand of host discovery mode
Expand Down
2 changes: 1 addition & 1 deletion commands/tui.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
package commands

import (
"context"
"flag"
"io/ioutil"
"os"
Expand All @@ -28,7 +29,6 @@ import (
c "github.com/future-architect/vuls/config"
"github.com/future-architect/vuls/report"
"github.com/google/subcommands"
"golang.org/x/net/context"
)

// TuiCmd is Subcommand of host discovery mode
Expand Down
2 changes: 1 addition & 1 deletion glide.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import (
"fmt"
"os"

"golang.org/x/net/context"
"context"

"github.com/future-architect/vuls/commands"
"github.com/google/subcommands"
Expand Down

0 comments on commit 1bbf320

Please sign in to comment.