Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

change logrus package to lowercase and update other packages #446

Merged
merged 1 commit into from
Jun 28, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
50 changes: 26 additions & 24 deletions Gopkg.lock

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

6 changes: 3 additions & 3 deletions Gopkg.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

[[constraint]]
branch = "master"
name = "github.com/Sirupsen/logrus"
name = "github.com/sirupsen/logrus"

[[constraint]]
name = "github.com/aws/aws-sdk-go"
Expand All @@ -24,11 +24,11 @@
name = "github.com/k0kubun/pp"

[[constraint]]
branch = "master"
name = "github.com/kotakanbe/go-cve-dictionary"
revision = "c57d73c89e4d1a71f417ffcef6e13978a5add7ac"

[[constraint]]
revision = "233459d2cc9ae85d8fcfb6a3d1412fdba6b0ea65"
branch = "master"
name = "github.com/kotakanbe/goval-dictionary"

[[constraint]]
Expand Down
2 changes: 1 addition & 1 deletion cache/bolt.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ import (
"fmt"
"time"

"github.com/Sirupsen/logrus"
"github.com/boltdb/bolt"
"github.com/future-architect/vuls/util"
"github.com/sirupsen/logrus"
)

// Bolt holds a pointer of bolt.DB
Expand Down
2 changes: 1 addition & 1 deletion cache/bolt_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ import (
"reflect"
"testing"

"github.com/Sirupsen/logrus"
"github.com/boltdb/bolt"
"github.com/future-architect/vuls/config"
"github.com/future-architect/vuls/models"
"github.com/sirupsen/logrus"
)

const path = "/tmp/vuls-test-cache-11111111.db"
Expand Down
2 changes: 1 addition & 1 deletion commands/discover.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ import (

"github.com/google/subcommands"

"github.com/Sirupsen/logrus"
ps "github.com/kotakanbe/go-pingscanner"
"github.com/sirupsen/logrus"
)

// DiscoverCmd is Subcommand of host discovery mode
Expand Down
2 changes: 1 addition & 1 deletion config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ import (
"strconv"
"strings"

log "github.com/Sirupsen/logrus"
valid "github.com/asaskevich/govalidator"
log "github.com/sirupsen/logrus"
)

// Conf has Configuration
Expand Down
2 changes: 1 addition & 1 deletion config/tomlloader.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ import (
"strings"

"github.com/BurntSushi/toml"
log "github.com/Sirupsen/logrus"
"github.com/future-architect/vuls/contrib/owasp-dependency-check/parser"
log "github.com/sirupsen/logrus"
)

// TOMLLoader loads config
Expand Down
2 changes: 1 addition & 1 deletion report/cve_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@ import (
"github.com/cenkalti/backoff"
"github.com/parnurzeal/gorequest"

log "github.com/Sirupsen/logrus"
"github.com/future-architect/vuls/config"
"github.com/future-architect/vuls/util"
cveconfig "github.com/kotakanbe/go-cve-dictionary/config"
cvedb "github.com/kotakanbe/go-cve-dictionary/db"
cve "github.com/kotakanbe/go-cve-dictionary/models"
log "github.com/sirupsen/logrus"
)

// CveClient is api client of CVE disctionary service.
Expand Down
2 changes: 1 addition & 1 deletion report/slack.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@ import (
"strings"
"time"

log "github.com/Sirupsen/logrus"
"github.com/cenkalti/backoff"
"github.com/future-architect/vuls/config"
"github.com/future-architect/vuls/models"
"github.com/parnurzeal/gorequest"
log "github.com/sirupsen/logrus"
)

type field struct {
Expand Down
2 changes: 1 addition & 1 deletion report/tui.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@ import (
"strings"
"time"

log "github.com/Sirupsen/logrus"
"github.com/future-architect/vuls/config"
"github.com/future-architect/vuls/models"
"github.com/future-architect/vuls/util"
"github.com/google/subcommands"
"github.com/gosuri/uitable"
"github.com/jroimartin/gocui"
log "github.com/sirupsen/logrus"
)

var scanResults models.ScanResults
Expand Down
2 changes: 1 addition & 1 deletion scan/base.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ import (
"strings"
"time"

"github.com/Sirupsen/logrus"
"github.com/future-architect/vuls/config"
"github.com/future-architect/vuls/models"
"github.com/sirupsen/logrus"
)

type base struct {
Expand Down
2 changes: 1 addition & 1 deletion scan/debian_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ import (
"reflect"
"testing"

"github.com/Sirupsen/logrus"
"github.com/future-architect/vuls/cache"
"github.com/future-architect/vuls/config"
"github.com/future-architect/vuls/models"
"github.com/k0kubun/pp"
"github.com/sirupsen/logrus"
)

func TestParseScannedPackagesLineDebian(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion scan/executil.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@ import (
"golang.org/x/crypto/ssh"
"golang.org/x/crypto/ssh/agent"

"github.com/Sirupsen/logrus"
"github.com/cenkalti/backoff"
conf "github.com/future-architect/vuls/config"
"github.com/future-architect/vuls/util"
"github.com/sirupsen/logrus"
)

type execResult struct {
Expand Down
2 changes: 1 addition & 1 deletion util/logutil.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ import (
"path/filepath"
"runtime"

"github.com/Sirupsen/logrus"
"github.com/rifflock/lfshook"
"github.com/sirupsen/logrus"

"github.com/future-architect/vuls/config"
formatter "github.com/kotakanbe/logrus-prefixed-formatter"
Expand Down