chore: Switch github.com/liamg dependencies to github.com/aquasecurity (#3069)

This commit is contained in:
Liam Galvin
2022-10-25 09:17:47 +01:00
committed by GitHub
parent 9b0e9794cb
commit b22e37e0c6
42 changed files with 244 additions and 179 deletions

View File

@@ -7,13 +7,15 @@
package cache
import (
common "github.com/aquasecurity/trivy/rpc/common"
reflect "reflect"
sync "sync"
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
emptypb "google.golang.org/protobuf/types/known/emptypb"
timestamppb "google.golang.org/protobuf/types/known/timestamppb"
reflect "reflect"
sync "sync"
common "github.com/aquasecurity/trivy/rpc/common"
)
const (

View File

@@ -3,26 +3,40 @@
package cache
import context "context"
import fmt "fmt"
import http "net/http"
import ioutil "io/ioutil"
import json "encoding/json"
import strconv "strconv"
import strings "strings"
import (
context "context"
fmt "fmt"
import protojson "google.golang.org/protobuf/encoding/protojson"
import proto "google.golang.org/protobuf/proto"
import twirp "github.com/twitchtv/twirp"
import ctxsetters "github.com/twitchtv/twirp/ctxsetters"
http "net/http"
import google_protobuf2 "google.golang.org/protobuf/types/known/emptypb"
ioutil "io/ioutil"
import bytes "bytes"
import errors "errors"
import io "io"
import path "path"
import url "net/url"
json "encoding/json"
strconv "strconv"
strings "strings"
protojson "google.golang.org/protobuf/encoding/protojson"
proto "google.golang.org/protobuf/proto"
twirp "github.com/twitchtv/twirp"
ctxsetters "github.com/twitchtv/twirp/ctxsetters"
google_protobuf2 "google.golang.org/protobuf/types/known/emptypb"
bytes "bytes"
errors "errors"
io "io"
path "path"
url "net/url"
)
// Version compatibility assertion.
// If the constant is not defined in the package, that likely means