diff --git a/go.sum b/go.sum index 7f62c5bd6..da3c0dbc7 100644 --- a/go.sum +++ b/go.sum @@ -108,8 +108,6 @@ github.com/konsorten/go-windows-terminal-sequences v1.0.1 h1:mweAR1A6xJ3oS2pRaGi github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= github.com/koofr/go-httpclient v0.0.0-20180104120329-03786175608a h1:W+gnfphB7WpRj0rbTF40e3edULfri4fou2kUFw6AF3A= github.com/koofr/go-httpclient v0.0.0-20180104120329-03786175608a/go.mod h1:3xszwh+rNrYk1r9SStc4iJ326gne1OaBcrdB1ACsbzI= -github.com/koofr/go-koofrclient v0.0.0-20190131164641-7f327592caff h1:GlfzG8bgyoJYz+5sMvGpYnHrg4veNVNnDGuE9hTEMHk= -github.com/koofr/go-koofrclient v0.0.0-20190131164641-7f327592caff/go.mod h1:MRAz4Gsxd+OzrZ0owwrUHc0zLESL+1Y5syqK/sJxK2A= github.com/koofr/go-koofrclient v0.0.0-20190715104037-2c5813f3c29c h1:MaVra5jrE7MxT4k0v0JD2Gh6h94BFu2DgDYq+zMGBW0= github.com/koofr/go-koofrclient v0.0.0-20190715104037-2c5813f3c29c/go.mod h1:MRAz4Gsxd+OzrZ0owwrUHc0zLESL+1Y5syqK/sJxK2A= github.com/kr/fs v0.1.0 h1:Jskdu9ieNAYnjxsi0LbQp1ulIKZV1LAFgK1tWhpZgl8= diff --git a/vendor/github.com/Azure/azure-storage-blob-go/azblob/zc_pipeline.go b/vendor/github.com/Azure/azure-storage-blob-go/azblob/zc_pipeline.go index ba99255c1..7c249a298 100644 --- a/vendor/github.com/Azure/azure-storage-blob-go/azblob/zc_pipeline.go +++ b/vendor/github.com/Azure/azure-storage-blob-go/azblob/zc_pipeline.go @@ -41,5 +41,6 @@ func NewPipeline(c Credential, o PipelineOptions) pipeline.Pipeline { NewRequestLogPolicyFactory(o.RequestLog), pipeline.MethodFactoryMarker()) // indicates at what stage in the pipeline the method factory is invoked + return pipeline.NewPipeline(f, pipeline.Options{HTTPSender: o.HTTPSender, Log: o.Log}) } diff --git a/vendor/github.com/Azure/azure-storage-blob-go/azblob/zz_generated_append_blob.go b/vendor/github.com/Azure/azure-storage-blob-go/azblob/zz_generated_append_blob.go index 9c583fc1c..5000bc9f6 100644 --- a/vendor/github.com/Azure/azure-storage-blob-go/azblob/zz_generated_append_blob.go +++ b/vendor/github.com/Azure/azure-storage-blob-go/azblob/zz_generated_append_blob.go @@ -6,14 +6,13 @@ package azblob import ( "context" "encoding/base64" + "github.com/Azure/azure-pipeline-go/pipeline" "io" "io/ioutil" "net/http" "net/url" "strconv" "time" - - "github.com/Azure/azure-pipeline-go/pipeline" ) // appendBlobClient is the client for the AppendBlob methods of the Azblob service. diff --git a/vendor/github.com/Azure/go-ansiterm/winterm/ansi.go b/vendor/github.com/Azure/go-ansiterm/winterm/ansi.go index 1128dc752..a67327972 100644 --- a/vendor/github.com/Azure/go-ansiterm/winterm/ansi.go +++ b/vendor/github.com/Azure/go-ansiterm/winterm/ansi.go @@ -9,7 +9,7 @@ import ( "strings" "syscall" - ansiterm "github.com/Azure/go-ansiterm" + "github.com/Azure/go-ansiterm" ) // Windows keyboard constants diff --git a/vendor/github.com/Azure/go-ansiterm/winterm/attr_translation.go b/vendor/github.com/Azure/go-ansiterm/winterm/attr_translation.go index c511eee92..cbec8f728 100644 --- a/vendor/github.com/Azure/go-ansiterm/winterm/attr_translation.go +++ b/vendor/github.com/Azure/go-ansiterm/winterm/attr_translation.go @@ -2,7 +2,7 @@ package winterm -import ansiterm "github.com/Azure/go-ansiterm" +import "github.com/Azure/go-ansiterm" const ( FOREGROUND_COLOR_MASK = FOREGROUND_RED | FOREGROUND_GREEN | FOREGROUND_BLUE diff --git a/vendor/github.com/Azure/go-ansiterm/winterm/erase_helpers.go b/vendor/github.com/Azure/go-ansiterm/winterm/erase_helpers.go index 12124daf9..244b5fa25 100644 --- a/vendor/github.com/Azure/go-ansiterm/winterm/erase_helpers.go +++ b/vendor/github.com/Azure/go-ansiterm/winterm/erase_helpers.go @@ -2,7 +2,7 @@ package winterm -import ansiterm "github.com/Azure/go-ansiterm" +import "github.com/Azure/go-ansiterm" func (h *windowsAnsiEventHandler) clearRange(attributes uint16, fromCoord COORD, toCoord COORD) error { // Ignore an invalid (negative area) request diff --git a/vendor/github.com/Azure/go-ansiterm/winterm/win_event_handler.go b/vendor/github.com/Azure/go-ansiterm/winterm/win_event_handler.go index ec129a3ee..2d40fb75a 100644 --- a/vendor/github.com/Azure/go-ansiterm/winterm/win_event_handler.go +++ b/vendor/github.com/Azure/go-ansiterm/winterm/win_event_handler.go @@ -8,7 +8,7 @@ import ( "os" "strconv" - ansiterm "github.com/Azure/go-ansiterm" + "github.com/Azure/go-ansiterm" ) type windowsAnsiEventHandler struct { diff --git a/vendor/github.com/atotto/clipboard/clipboard_unix.go b/vendor/github.com/atotto/clipboard/clipboard_unix.go index 3c7b24e84..8f5e23c37 100644 --- a/vendor/github.com/atotto/clipboard/clipboard_unix.go +++ b/vendor/github.com/atotto/clipboard/clipboard_unix.go @@ -15,8 +15,8 @@ import ( const ( xsel = "xsel" xclip = "xclip" - wlcopy = "wl-copy" - wlpaste = "wl-paste" + wlcopy = "wl-copy" + wlpaste = "wl-paste" termuxClipboardGet = "termux-clipboard-get" termuxClipboardSet = "termux-clipboard-set" ) @@ -34,7 +34,7 @@ var ( xclipCopyArgs = []string{xclip, "-in", "-selection", "clipboard"} wlpasteArgs = []string{wlpaste, "--no-newline"} - wlcopyArgs = []string{wlcopy} + wlcopyArgs = []string{wlcopy} termuxPasteArgs = []string{termuxClipboardGet} termuxCopyArgs = []string{termuxClipboardSet} @@ -44,8 +44,8 @@ var ( func init() { if os.Getenv("WAYLAND_DISPLAY") != "" { - pasteCmdArgs = wlpasteArgs - copyCmdArgs = wlcopyArgs + pasteCmdArgs = wlpasteArgs; + copyCmdArgs = wlcopyArgs; if _, err := exec.LookPath(wlcopy); err == nil { if _, err := exec.LookPath(wlpaste); err == nil { diff --git a/vendor/github.com/aws/aws-sdk-go/aws/awsutil/path_value.go b/vendor/github.com/aws/aws-sdk-go/aws/awsutil/path_value.go index 115836f4d..11c52c389 100644 --- a/vendor/github.com/aws/aws-sdk-go/aws/awsutil/path_value.go +++ b/vendor/github.com/aws/aws-sdk-go/aws/awsutil/path_value.go @@ -6,7 +6,7 @@ import ( "strconv" "strings" - jmespath "github.com/jmespath/go-jmespath" + "github.com/jmespath/go-jmespath" ) var indexRe = regexp.MustCompile(`(.+)\[(-?\d+)?\]$`) diff --git a/vendor/github.com/aws/aws-sdk-go/service/s3/service.go b/vendor/github.com/aws/aws-sdk-go/service/s3/service.go index a66aec8b6..d17dcc9da 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/s3/service.go +++ b/vendor/github.com/aws/aws-sdk-go/service/s3/service.go @@ -7,7 +7,7 @@ import ( "github.com/aws/aws-sdk-go/aws/client" "github.com/aws/aws-sdk-go/aws/client/metadata" "github.com/aws/aws-sdk-go/aws/request" - v4 "github.com/aws/aws-sdk-go/aws/signer/v4" + "github.com/aws/aws-sdk-go/aws/signer/v4" "github.com/aws/aws-sdk-go/private/protocol/restxml" ) diff --git a/vendor/github.com/aws/aws-sdk-go/service/sts/service.go b/vendor/github.com/aws/aws-sdk-go/service/sts/service.go index cfe81d61d..185c914d1 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/sts/service.go +++ b/vendor/github.com/aws/aws-sdk-go/service/sts/service.go @@ -7,7 +7,7 @@ import ( "github.com/aws/aws-sdk-go/aws/client" "github.com/aws/aws-sdk-go/aws/client/metadata" "github.com/aws/aws-sdk-go/aws/request" - v4 "github.com/aws/aws-sdk-go/aws/signer/v4" + "github.com/aws/aws-sdk-go/aws/signer/v4" "github.com/aws/aws-sdk-go/private/protocol/query" ) diff --git a/vendor/github.com/golang/protobuf/ptypes/any/any.pb.go b/vendor/github.com/golang/protobuf/ptypes/any/any.pb.go index fb8765a60..78ee52334 100644 --- a/vendor/github.com/golang/protobuf/ptypes/any/any.pb.go +++ b/vendor/github.com/golang/protobuf/ptypes/any/any.pb.go @@ -5,9 +5,8 @@ package any import ( fmt "fmt" - math "math" - proto "github.com/golang/protobuf/proto" + math "math" ) // Reference imports to suppress errors if they are not otherwise used. diff --git a/vendor/github.com/golang/protobuf/ptypes/duration/duration.pb.go b/vendor/github.com/golang/protobuf/ptypes/duration/duration.pb.go index 2e875b80c..0d681ee21 100644 --- a/vendor/github.com/golang/protobuf/ptypes/duration/duration.pb.go +++ b/vendor/github.com/golang/protobuf/ptypes/duration/duration.pb.go @@ -5,9 +5,8 @@ package duration import ( fmt "fmt" - math "math" - proto "github.com/golang/protobuf/proto" + math "math" ) // Reference imports to suppress errors if they are not otherwise used. diff --git a/vendor/github.com/golang/protobuf/ptypes/timestamp/timestamp.pb.go b/vendor/github.com/golang/protobuf/ptypes/timestamp/timestamp.pb.go index 66532d3d0..31cd846de 100644 --- a/vendor/github.com/golang/protobuf/ptypes/timestamp/timestamp.pb.go +++ b/vendor/github.com/golang/protobuf/ptypes/timestamp/timestamp.pb.go @@ -5,9 +5,8 @@ package timestamp import ( fmt "fmt" - math "math" - proto "github.com/golang/protobuf/proto" + math "math" ) // Reference imports to suppress errors if they are not otherwise used. diff --git a/vendor/github.com/jlaffaye/ftp/ftp.go b/vendor/github.com/jlaffaye/ftp/ftp.go index 2973d9ab9..4d2ec86c3 100644 --- a/vendor/github.com/jlaffaye/ftp/ftp.go +++ b/vendor/github.com/jlaffaye/ftp/ftp.go @@ -91,7 +91,7 @@ func Dial(addr string, options ...DialOption) (*ServerConn, error) { if do.dialFunc != nil { tconn, err = do.dialFunc("tcp", addr) } else if do.tlsConfig != nil { - tconn, err = tls.DialWithDialer(&do.dialer, "tcp", addr, do.tlsConfig) + tconn, err = tls.DialWithDialer(&do.dialer , "tcp", addr, do.tlsConfig) } else { ctx := do.context @@ -188,7 +188,7 @@ func DialWithContext(ctx context.Context) DialOption { } // DialWithTLS returns a DialOption that configures the ServerConn with specified TLS config -// +// // If called together with the DialWithDialFunc option, the DialWithDialFunc function // will be used when dialing new connections but regardless of the function, // the connection will be treated as a TLS connection. diff --git a/vendor/github.com/koofr/go-koofrclient/client.go b/vendor/github.com/koofr/go-koofrclient/client.go index 169a0196e..2821ae0d6 100644 --- a/vendor/github.com/koofr/go-koofrclient/client.go +++ b/vendor/github.com/koofr/go-koofrclient/client.go @@ -5,7 +5,7 @@ import ( "net/http" "net/url" - httpclient "github.com/koofr/go-httpclient" + "github.com/koofr/go-httpclient" ) type KoofrClient struct { diff --git a/vendor/github.com/koofr/go-koofrclient/client_device.go b/vendor/github.com/koofr/go-koofrclient/client_device.go index 604fed321..0f2390ddd 100644 --- a/vendor/github.com/koofr/go-koofrclient/client_device.go +++ b/vendor/github.com/koofr/go-koofrclient/client_device.go @@ -1,9 +1,8 @@ package koofrclient import ( + "github.com/koofr/go-httpclient" "net/http" - - httpclient "github.com/koofr/go-httpclient" ) func (c *KoofrClient) Devices() (devices []Device, err error) { diff --git a/vendor/github.com/koofr/go-koofrclient/client_files.go b/vendor/github.com/koofr/go-koofrclient/client_files.go index 2d61eab3c..5ef1ecb9d 100644 --- a/vendor/github.com/koofr/go-koofrclient/client_files.go +++ b/vendor/github.com/koofr/go-koofrclient/client_files.go @@ -7,7 +7,7 @@ import ( "net/url" "path" - httpclient "github.com/koofr/go-httpclient" + "github.com/koofr/go-httpclient" ) var ErrCannotOverwrite = fmt.Errorf("Can not overwrite (filter constraint fails)") diff --git a/vendor/github.com/koofr/go-koofrclient/client_mount.go b/vendor/github.com/koofr/go-koofrclient/client_mount.go index 8142333cf..f5ea21ca0 100644 --- a/vendor/github.com/koofr/go-koofrclient/client_mount.go +++ b/vendor/github.com/koofr/go-koofrclient/client_mount.go @@ -1,9 +1,8 @@ package koofrclient import ( + "github.com/koofr/go-httpclient" "net/http" - - httpclient "github.com/koofr/go-httpclient" ) func (c *KoofrClient) Mounts() (mounts []Mount, err error) { diff --git a/vendor/github.com/koofr/go-koofrclient/client_shared.go b/vendor/github.com/koofr/go-koofrclient/client_shared.go index 23bf80b4b..414a215e0 100644 --- a/vendor/github.com/koofr/go-koofrclient/client_shared.go +++ b/vendor/github.com/koofr/go-koofrclient/client_shared.go @@ -3,7 +3,7 @@ package koofrclient import ( "net/http" - httpclient "github.com/koofr/go-httpclient" + "github.com/koofr/go-httpclient" ) func (c *KoofrClient) Shared() (shared []Shared, err error) { diff --git a/vendor/github.com/koofr/go-koofrclient/client_user.go b/vendor/github.com/koofr/go-koofrclient/client_user.go index 86e56257b..93cde5f8f 100644 --- a/vendor/github.com/koofr/go-koofrclient/client_user.go +++ b/vendor/github.com/koofr/go-koofrclient/client_user.go @@ -1,9 +1,8 @@ package koofrclient import ( + "github.com/koofr/go-httpclient" "net/http" - - httpclient "github.com/koofr/go-httpclient" ) func (c *KoofrClient) UserInfo() (user User, err error) { diff --git a/vendor/github.com/nsf/termbox-go/api.go b/vendor/github.com/nsf/termbox-go/api.go index 28601a85f..92e3a44c7 100644 --- a/vendor/github.com/nsf/termbox-go/api.go +++ b/vendor/github.com/nsf/termbox-go/api.go @@ -2,16 +2,13 @@ package termbox -import ( - "fmt" - "os" - "os/signal" - "runtime" - "syscall" - "time" - - runewidth "github.com/mattn/go-runewidth" -) +import "github.com/mattn/go-runewidth" +import "fmt" +import "os" +import "os/signal" +import "syscall" +import "runtime" +import "time" // public API diff --git a/vendor/github.com/nsf/termbox-go/termbox_windows.go b/vendor/github.com/nsf/termbox-go/termbox_windows.go index 35da3c6a7..22e0f9ea0 100644 --- a/vendor/github.com/nsf/termbox-go/termbox_windows.go +++ b/vendor/github.com/nsf/termbox-go/termbox_windows.go @@ -4,7 +4,7 @@ import "math" import "syscall" import "unsafe" import "unicode/utf16" -import runewidth "github.com/mattn/go-runewidth" +import "github.com/mattn/go-runewidth" type ( wchar uint16 diff --git a/vendor/github.com/pkg/sftp/server_stubs.go b/vendor/github.com/pkg/sftp/server_stubs.go index c489c1e11..a14c73482 100644 --- a/vendor/github.com/pkg/sftp/server_stubs.go +++ b/vendor/github.com/pkg/sftp/server_stubs.go @@ -3,9 +3,9 @@ package sftp import ( - "fmt" "os" "time" + "fmt" ) func runLs(dirname string, dirent os.FileInfo) string { diff --git a/vendor/github.com/sirupsen/logrus/terminal_check_bsd.go b/vendor/github.com/sirupsen/logrus/terminal_check_bsd.go index ff6ff7b99..3c4f43f91 100644 --- a/vendor/github.com/sirupsen/logrus/terminal_check_bsd.go +++ b/vendor/github.com/sirupsen/logrus/terminal_check_bsd.go @@ -10,3 +10,4 @@ func isTerminal(fd int) bool { _, err := unix.IoctlGetTermios(fd, ioctlReadTermios) return err == nil } + diff --git a/vendor/github.com/sirupsen/logrus/terminal_check_unix.go b/vendor/github.com/sirupsen/logrus/terminal_check_unix.go index 163c468d5..355dc966f 100644 --- a/vendor/github.com/sirupsen/logrus/terminal_check_unix.go +++ b/vendor/github.com/sirupsen/logrus/terminal_check_unix.go @@ -10,3 +10,4 @@ func isTerminal(fd int) bool { _, err := unix.IoctlGetTermios(fd, ioctlReadTermios) return err == nil } + diff --git a/vendor/github.com/spf13/cobra/doc/yaml_docs.go b/vendor/github.com/spf13/cobra/doc/yaml_docs.go index 5f040b553..ea00af07e 100644 --- a/vendor/github.com/spf13/cobra/doc/yaml_docs.go +++ b/vendor/github.com/spf13/cobra/doc/yaml_docs.go @@ -23,7 +23,7 @@ import ( "github.com/spf13/cobra" "github.com/spf13/pflag" - yaml "gopkg.in/yaml.v2" + "gopkg.in/yaml.v2" ) type cmdOption struct { diff --git a/vendor/github.com/stretchr/testify/require/require.go b/vendor/github.com/stretchr/testify/require/require.go index 997732ea8..535f29349 100644 --- a/vendor/github.com/stretchr/testify/require/require.go +++ b/vendor/github.com/stretchr/testify/require/require.go @@ -6,11 +6,10 @@ package require import ( + assert "github.com/stretchr/testify/assert" http "net/http" url "net/url" time "time" - - assert "github.com/stretchr/testify/assert" ) // Condition uses a Comparison to assert a complex condition. diff --git a/vendor/github.com/stretchr/testify/require/require_forward.go b/vendor/github.com/stretchr/testify/require/require_forward.go index a2a0cf909..9fe41dbdc 100644 --- a/vendor/github.com/stretchr/testify/require/require_forward.go +++ b/vendor/github.com/stretchr/testify/require/require_forward.go @@ -6,11 +6,10 @@ package require import ( + assert "github.com/stretchr/testify/assert" http "net/http" url "net/url" time "time" - - assert "github.com/stretchr/testify/assert" ) // Condition uses a Comparison to assert a complex condition. diff --git a/vendor/github.com/yunify/qingstor-sdk-go/config/config.go b/vendor/github.com/yunify/qingstor-sdk-go/config/config.go index 6a8c06fba..9f355ade0 100644 --- a/vendor/github.com/yunify/qingstor-sdk-go/config/config.go +++ b/vendor/github.com/yunify/qingstor-sdk-go/config/config.go @@ -24,7 +24,7 @@ import ( "strings" "time" - yaml "gopkg.in/yaml.v2" + "gopkg.in/yaml.v2" "github.com/yunify/qingstor-sdk-go/logger" "github.com/yunify/qingstor-sdk-go/utils" diff --git a/vendor/github.com/yunify/qingstor-sdk-go/request/builder/qingstor.go b/vendor/github.com/yunify/qingstor-sdk-go/request/builder/qingstor.go index b9dcd4142..78b28c3fb 100644 --- a/vendor/github.com/yunify/qingstor-sdk-go/request/builder/qingstor.go +++ b/vendor/github.com/yunify/qingstor-sdk-go/request/builder/qingstor.go @@ -32,7 +32,7 @@ import ( "github.com/pengsrc/go-shared/convert" - sdk "github.com/yunify/qingstor-sdk-go" + "github.com/yunify/qingstor-sdk-go" "github.com/yunify/qingstor-sdk-go/logger" "github.com/yunify/qingstor-sdk-go/request/data" "github.com/yunify/qingstor-sdk-go/utils" diff --git a/vendor/golang.org/x/crypto/ssh/agent/client.go b/vendor/golang.org/x/crypto/ssh/agent/client.go index 7834396c9..51f740500 100644 --- a/vendor/golang.org/x/crypto/ssh/agent/client.go +++ b/vendor/golang.org/x/crypto/ssh/agent/client.go @@ -26,7 +26,6 @@ import ( "sync" "crypto" - "golang.org/x/crypto/ed25519" "golang.org/x/crypto/ssh" ) diff --git a/vendor/golang.org/x/crypto/ssh/terminal/util_solaris.go b/vendor/golang.org/x/crypto/ssh/terminal/util_solaris.go index 9a457b232..3d5f06a9f 100644 --- a/vendor/golang.org/x/crypto/ssh/terminal/util_solaris.go +++ b/vendor/golang.org/x/crypto/ssh/terminal/util_solaris.go @@ -7,10 +7,9 @@ package terminal // import "golang.org/x/crypto/ssh/terminal" import ( + "golang.org/x/sys/unix" "io" "syscall" - - "golang.org/x/sys/unix" ) // State contains the state of a terminal. diff --git a/vendor/gopkg.in/yaml.v2/readerc.go b/vendor/gopkg.in/yaml.v2/readerc.go index b0c436c4a..7c1f5fac3 100644 --- a/vendor/gopkg.in/yaml.v2/readerc.go +++ b/vendor/gopkg.in/yaml.v2/readerc.go @@ -95,7 +95,7 @@ func yaml_parser_update_buffer(parser *yaml_parser_t, length int) bool { // [Go] This function was changed to guarantee the requested length size at EOF. // The fact we need to do this is pretty awful, but the description above implies - // for that to be the case, and there are tests + // for that to be the case, and there are tests // If the EOF flag is set and the raw buffer is empty, do nothing. if parser.eof && parser.raw_buffer_pos == len(parser.raw_buffer) { diff --git a/vendor/gopkg.in/yaml.v2/resolve.go b/vendor/gopkg.in/yaml.v2/resolve.go index bf830eee5..6c151db6f 100644 --- a/vendor/gopkg.in/yaml.v2/resolve.go +++ b/vendor/gopkg.in/yaml.v2/resolve.go @@ -180,7 +180,7 @@ func resolve(tag string, in string) (rtag string, out interface{}) { return yaml_INT_TAG, uintv } } else if strings.HasPrefix(plain, "-0b") { - intv, err := strconv.ParseInt("-"+plain[3:], 2, 64) + intv, err := strconv.ParseInt("-" + plain[3:], 2, 64) if err == nil { if true || intv == int64(int(intv)) { return yaml_INT_TAG, int(intv) diff --git a/vendor/gopkg.in/yaml.v2/sorter.go b/vendor/gopkg.in/yaml.v2/sorter.go index 2edd73405..4c45e660a 100644 --- a/vendor/gopkg.in/yaml.v2/sorter.go +++ b/vendor/gopkg.in/yaml.v2/sorter.go @@ -52,7 +52,7 @@ func (l keyList) Less(i, j int) bool { var ai, bi int var an, bn int64 if ar[i] == '0' || br[i] == '0' { - for j := i - 1; j >= 0 && unicode.IsDigit(ar[j]); j-- { + for j := i-1; j >= 0 && unicode.IsDigit(ar[j]); j-- { if ar[j] != '0' { an = 1 bn = 1 diff --git a/vendor/modules.txt b/vendor/modules.txt index b4761f1be..84810a21f 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -199,6 +199,7 @@ golang.org/x/crypto/nacl/secretbox golang.org/x/crypto/scrypt golang.org/x/crypto/ssh golang.org/x/crypto/ssh/terminal +golang.org/x/crypto/bcrypt golang.org/x/crypto/internal/subtle golang.org/x/crypto/poly1305 golang.org/x/crypto/salsa20/salsa @@ -207,9 +208,8 @@ golang.org/x/crypto/ssh/agent golang.org/x/crypto/curve25519 golang.org/x/crypto/ed25519 golang.org/x/crypto/internal/chacha20 -golang.org/x/crypto/bcrypt -golang.org/x/crypto/ed25519/internal/edwards25519 golang.org/x/crypto/blowfish +golang.org/x/crypto/ed25519/internal/edwards25519 # golang.org/x/net v0.0.0-20190620200207-3b0461eec859 golang.org/x/net/websocket golang.org/x/net/html