From 2a57508411dd7fcabb4d4049764569f4dfde9ad8 Mon Sep 17 00:00:00 2001 From: Naveen Chalasani Date: Thu, 16 Nov 2023 15:10:47 +0530 Subject: [PATCH 1/2] Migrate to go mod --- Gopkg.lock | 745 ----------------------------------------------------- Gopkg.toml | 38 --- Makefile | 33 +-- 3 files changed, 9 insertions(+), 807 deletions(-) delete mode 100644 Gopkg.lock delete mode 100644 Gopkg.toml diff --git a/Gopkg.lock b/Gopkg.lock deleted file mode 100644 index c93ede4..0000000 --- a/Gopkg.lock +++ /dev/null @@ -1,745 +0,0 @@ -# This file is autogenerated, do not edit; changes may be undone by the next 'dep ensure'. - - -[[projects]] - digest = "1:5e79f7a65816b2ba311439df21c9b24af91868cbb5d67489be6d94be2cccb286" - name = "github.com/antlr/antlr4" - packages = ["runtime/Go/antlr"] - pruneopts = "UT" - revision = "bdc05c87be2ad981744223df0fd745e8345baba9" - version = "4.7.1" - -[[projects]] - digest = "1:722202dba201a61bddc8ca8521e983301d3910e9fc1ab8ae17485941394af9ec" - name = "github.com/aws/aws-sdk-go" - packages = [ - "aws", - "aws/arn", - "aws/awserr", - "aws/awsutil", - "aws/client", - "aws/client/metadata", - "aws/corehandlers", - "aws/credentials", - "aws/credentials/ec2rolecreds", - "aws/credentials/endpointcreds", - "aws/credentials/plugincreds", - "aws/credentials/processcreds", - "aws/credentials/stscreds", - "aws/crr", - "aws/csm", - "aws/defaults", - "aws/ec2metadata", - "aws/endpoints", - "aws/request", - "aws/session", - "aws/signer/v4", - "awstesting", - "awstesting/integration", - "awstesting/integration/s3integ", - "awstesting/mock", - "awstesting/unit", - "internal/context", - "internal/ini", - "internal/s3err", - "internal/sdkio", - "internal/sdkmath", - "internal/sdkrand", - "internal/sdktesting", - "internal/sdkuri", - "internal/shareddefaults", - "internal/strings", - "internal/sync/singleflight", - "private/model/api", - "private/model/api/codegentest/service/awsendpointdiscoverytest", - "private/model/api/codegentest/service/restjsonservice", - "private/model/api/codegentest/service/restxmlservice", - "private/model/api/codegentest/service/rpcservice", - "private/protocol", - "private/protocol/ec2query", - "private/protocol/eventstream", - "private/protocol/eventstream/eventstreamapi", - "private/protocol/eventstream/eventstreamtest", - "private/protocol/json/jsonutil", - "private/protocol/jsonrpc", - "private/protocol/query", - "private/protocol/query/queryutil", - "private/protocol/rest", - "private/protocol/restjson", - "private/protocol/restxml", - "private/protocol/xml/xmlutil", - "private/signer/v2", - "private/util", - "service/accessanalyzer", - "service/acm", - "service/acmpca", - "service/alexaforbusiness", - "service/amplify", - "service/apigateway", - "service/apigatewaymanagementapi", - "service/apigatewayv2", - "service/appconfig", - "service/applicationautoscaling", - "service/applicationdiscoveryservice", - "service/applicationinsights", - "service/appmesh", - "service/appstream", - "service/appsync", - "service/athena", - "service/augmentedairuntime", - "service/autoscaling", - "service/autoscalingplans", - "service/backup", - "service/batch", - "service/budgets", - "service/chime", - "service/cloud9", - "service/clouddirectory", - "service/cloudformation", - "service/cloudfront", - "service/cloudfront/sign", - "service/cloudhsm", - "service/cloudhsmv2", - "service/cloudsearch", - "service/cloudsearchdomain", - "service/cloudtrail", - "service/cloudwatch", - "service/cloudwatchevents", - "service/cloudwatchlogs", - "service/codebuild", - "service/codecommit", - "service/codedeploy", - "service/codeguruprofiler", - "service/codegurureviewer", - "service/codepipeline", - "service/codestar", - "service/codestarconnections", - "service/codestarnotifications", - "service/cognitoidentity", - "service/cognitoidentityprovider", - "service/cognitosync", - "service/comprehend", - "service/comprehendmedical", - "service/computeoptimizer", - "service/configservice", - "service/connect", - "service/connectparticipant", - "service/costandusagereportservice", - "service/costexplorer", - "service/databasemigrationservice", - "service/dataexchange", - "service/datapipeline", - "service/datasync", - "service/dax", - "service/detective", - "service/devicefarm", - "service/directconnect", - "service/directoryservice", - "service/dlm", - "service/docdb", - "service/dynamodb", - "service/dynamodb/dynamodbattribute", - "service/dynamodb/dynamodbiface", - "service/dynamodb/expression", - "service/dynamodbstreams", - "service/ebs", - "service/ec2", - "service/ec2instanceconnect", - "service/ecr", - "service/ecs", - "service/efs", - "service/eks", - "service/elasticache", - "service/elasticbeanstalk", - "service/elasticinference", - "service/elasticsearchservice", - "service/elastictranscoder", - "service/elb", - "service/elbv2", - "service/emr", - "service/eventbridge", - "service/firehose", - "service/fms", - "service/forecastqueryservice", - "service/forecastservice", - "service/frauddetector", - "service/fsx", - "service/gamelift", - "service/glacier", - "service/globalaccelerator", - "service/glue", - "service/greengrass", - "service/groundstation", - "service/guardduty", - "service/health", - "service/iam", - "service/imagebuilder", - "service/inspector", - "service/iot", - "service/iot1clickdevicesservice", - "service/iot1clickprojects", - "service/iotanalytics", - "service/iotdataplane", - "service/iotevents", - "service/ioteventsdata", - "service/iotjobsdataplane", - "service/iotsecuretunneling", - "service/iotthingsgraph", - "service/kafka", - "service/kendra", - "service/kinesis", - "service/kinesisanalytics", - "service/kinesisanalyticsv2", - "service/kinesisvideo", - "service/kinesisvideoarchivedmedia", - "service/kinesisvideomedia", - "service/kinesisvideosignalingchannels", - "service/kms", - "service/kms/kmsiface", - "service/lakeformation", - "service/lambda", - "service/lexmodelbuildingservice", - "service/lexruntimeservice", - "service/licensemanager", - "service/lightsail", - "service/machinelearning", - "service/macie", - "service/managedblockchain", - "service/marketplacecatalog", - "service/marketplacecommerceanalytics", - "service/marketplaceentitlementservice", - "service/marketplacemetering", - "service/mediaconnect", - "service/mediaconvert", - "service/medialive", - "service/mediapackage", - "service/mediapackagevod", - "service/mediastore", - "service/mediastoredata", - "service/mediatailor", - "service/migrationhub", - "service/migrationhubconfig", - "service/mobile", - "service/mobileanalytics", - "service/mq", - "service/mturk", - "service/neptune", - "service/networkmanager", - "service/opsworks", - "service/opsworkscm", - "service/organizations", - "service/outposts", - "service/personalize", - "service/personalizeevents", - "service/personalizeruntime", - "service/pi", - "service/pinpoint", - "service/pinpointemail", - "service/pinpointsmsvoice", - "service/polly", - "service/pricing", - "service/qldb", - "service/qldbsession", - "service/quicksight", - "service/ram", - "service/rds", - "service/rds/rdsutils", - "service/rdsdataservice", - "service/redshift", - "service/rekognition", - "service/resourcegroups", - "service/resourcegroupstaggingapi", - "service/robomaker", - "service/route53", - "service/route53domains", - "service/route53resolver", - "service/s3", - "service/s3/internal/arn", - "service/s3/internal/s3testing", - "service/s3/s3crypto", - "service/s3/s3iface", - "service/s3/s3manager", - "service/s3control", - "service/s3control/s3controliface", - "service/sagemaker", - "service/sagemakerruntime", - "service/savingsplans", - "service/schemas", - "service/secretsmanager", - "service/securityhub", - "service/serverlessapplicationrepository", - "service/servicecatalog", - "service/servicediscovery", - "service/servicequotas", - "service/ses", - "service/sesv2", - "service/sfn", - "service/shield", - "service/signer", - "service/simpledb", - "service/sms", - "service/snowball", - "service/sns", - "service/sqs", - "service/sqs/sqsiface", - "service/ssm", - "service/sso", - "service/ssooidc", - "service/storagegateway", - "service/sts", - "service/sts/stsiface", - "service/support", - "service/swf", - "service/textract", - "service/transcribeservice", - "service/transcribestreamingservice", - "service/transfer", - "service/translate", - "service/waf", - "service/wafregional", - "service/wafv2", - "service/workdocs", - "service/worklink", - "service/workmail", - "service/workmailmessageflow", - "service/workspaces", - "service/xray", - ] - pruneopts = "UT" - revision = "851d5ffb66720c2540cc68020d4d8708950686c8" - version = "v1.30.7" - -[[projects]] - digest = "1:4b8b5811da6970495e04d1f4e98bb89518cc3cfc3b3f456bdb876ed7b6c74049" - name = "github.com/davecgh/go-spew" - packages = [ - "spew", - "spew/testdata", - ] - pruneopts = "UT" - revision = "8991bc29aa16c548c550c7ff78260e27b9ab7c73" - version = "v1.1.1" - -[[projects]] - digest = "1:a3af33fd30536d9c5a7b6ad542390919e57c1125097a194c7b3d9904109a0611" - name = "github.com/go-sql-driver/mysql" - packages = ["."] - pruneopts = "UT" - revision = "17ef3dd9d98b69acec3e85878995ada9533a9370" - version = "v1.5.0" - -[[projects]] - digest = "1:bed9d72d596f94e65fff37f4d6c01398074a6bb1c3f3ceff963516bd01db6ff5" - name = "github.com/gofrs/uuid" - packages = ["."] - pruneopts = "UT" - revision = "6b08a5c5172ba18946672b49749cde22873dd7c2" - version = "v3.2.0" - -[[projects]] - digest = "1:bb81097a5b62634f3e9fec1014657855610c82d19b9a40c17612e32651e35dca" - name = "github.com/jmespath/go-jmespath" - packages = ["."] - pruneopts = "UT" - revision = "c2b33e84" - -[[projects]] - digest = "1:9e1d37b58d17113ec3cb5608ac0382313c5b59470b94ed97d0976e69c7022314" - name = "github.com/pkg/errors" - packages = ["."] - pruneopts = "UT" - revision = "614d223910a179a466c1767a985424175c39b465" - version = "v0.9.1" - -[[projects]] - digest = "1:0028cb19b2e4c3112225cd871870f2d9cf49b9b4276531f03438a88e94be86fe" - name = "github.com/pmezard/go-difflib" - packages = ["difflib"] - pruneopts = "UT" - revision = "792786c7400a136282c1664665ae0a8db921c6c2" - version = "v1.0.0" - -[[projects]] - digest = "1:23472f69a3ee7225de2f104aa48c6456959d1c155e45035c9845806d83109190" - name = "github.com/stretchr/objx" - packages = ["."] - pruneopts = "UT" - revision = "ea4fe68685ee0d3cee7032121851b57e7494e8ea" - version = "v0.2.0" - -[[projects]] - digest = "1:ec47aa5938ef8fde580544d34c6325ef5d380cc339e8ee24ed2bc62c79f6560d" - name = "github.com/stretchr/testify" - packages = [ - "assert", - "http", - "mock", - "require", - ] - pruneopts = "UT" - revision = "b91bfb9ebec76498946beb6af7c0230c7cc7ba6c" - version = "v1.2.0" - -[[projects]] - branch = "master" - digest = "1:f736fa4c2a6fb2156645d3fd43aecd20a9eeabb3b70e320e23320249d2497913" - name = "golang.org/x/net" - packages = [ - "html", - "html/atom", - "http/httpguts", - "http2", - "http2/hpack", - "idna", - ] - pruneopts = "UT" - revision = "d3edc9973b7eb1fb302b0ff2c62357091cea9a30" - -[[projects]] - digest = "1:8d8faad6b12a3a4c819a3f9618cb6ee1fa1cfc33253abeeea8b55336721e3405" - name = "golang.org/x/text" - packages = [ - "collate", - "collate/build", - "internal/colltab", - "internal/gen", - "internal/language", - "internal/language/compact", - "internal/tag", - "internal/triegen", - "internal/ucd", - "language", - "secure/bidirule", - "transform", - "unicode/bidi", - "unicode/cldr", - "unicode/norm", - "unicode/rangetable", - ] - pruneopts = "UT" - revision = "342b2e1fbaa52c93f31447ad2c6abc048c63e475" - version = "v0.3.2" - -[[projects]] - digest = "1:55b110c99c5fdc4f14930747326acce56b52cfce60b24b1c03ef686ac0e46bb1" - name = "gopkg.in/yaml.v2" - packages = ["."] - pruneopts = "UT" - revision = "53403b58ad1b561927d19068c655246f2db79d48" - version = "v2.2.8" - -[solve-meta] - analyzer-name = "dep" - analyzer-version = 1 - input-imports = [ - "github.com/antlr/antlr4/runtime/Go/antlr", - "github.com/aws/aws-sdk-go/aws", - "github.com/aws/aws-sdk-go/aws/arn", - "github.com/aws/aws-sdk-go/aws/awserr", - "github.com/aws/aws-sdk-go/aws/awsutil", - "github.com/aws/aws-sdk-go/aws/client", - "github.com/aws/aws-sdk-go/aws/client/metadata", - "github.com/aws/aws-sdk-go/aws/corehandlers", - "github.com/aws/aws-sdk-go/aws/credentials", - "github.com/aws/aws-sdk-go/aws/credentials/ec2rolecreds", - "github.com/aws/aws-sdk-go/aws/credentials/endpointcreds", - "github.com/aws/aws-sdk-go/aws/credentials/plugincreds", - "github.com/aws/aws-sdk-go/aws/credentials/processcreds", - "github.com/aws/aws-sdk-go/aws/credentials/stscreds", - "github.com/aws/aws-sdk-go/aws/crr", - "github.com/aws/aws-sdk-go/aws/csm", - "github.com/aws/aws-sdk-go/aws/defaults", - "github.com/aws/aws-sdk-go/aws/ec2metadata", - "github.com/aws/aws-sdk-go/aws/endpoints", - "github.com/aws/aws-sdk-go/aws/request", - "github.com/aws/aws-sdk-go/aws/session", - "github.com/aws/aws-sdk-go/aws/signer/v4", - "github.com/aws/aws-sdk-go/awstesting", - "github.com/aws/aws-sdk-go/awstesting/integration", - "github.com/aws/aws-sdk-go/awstesting/integration/s3integ", - "github.com/aws/aws-sdk-go/awstesting/mock", - "github.com/aws/aws-sdk-go/awstesting/unit", - "github.com/aws/aws-sdk-go/internal/context", - "github.com/aws/aws-sdk-go/internal/ini", - "github.com/aws/aws-sdk-go/internal/s3err", - "github.com/aws/aws-sdk-go/internal/sdkio", - "github.com/aws/aws-sdk-go/internal/sdkmath", - "github.com/aws/aws-sdk-go/internal/sdkrand", - "github.com/aws/aws-sdk-go/internal/sdktesting", - "github.com/aws/aws-sdk-go/internal/sdkuri", - "github.com/aws/aws-sdk-go/internal/shareddefaults", - "github.com/aws/aws-sdk-go/internal/strings", - "github.com/aws/aws-sdk-go/internal/sync/singleflight", - "github.com/aws/aws-sdk-go/private/model/api", - "github.com/aws/aws-sdk-go/private/model/api/codegentest/service/awsendpointdiscoverytest", - "github.com/aws/aws-sdk-go/private/model/api/codegentest/service/restjsonservice", - "github.com/aws/aws-sdk-go/private/model/api/codegentest/service/restxmlservice", - "github.com/aws/aws-sdk-go/private/model/api/codegentest/service/rpcservice", - "github.com/aws/aws-sdk-go/private/protocol", - "github.com/aws/aws-sdk-go/private/protocol/ec2query", - "github.com/aws/aws-sdk-go/private/protocol/eventstream", - "github.com/aws/aws-sdk-go/private/protocol/eventstream/eventstreamapi", - "github.com/aws/aws-sdk-go/private/protocol/eventstream/eventstreamtest", - "github.com/aws/aws-sdk-go/private/protocol/json/jsonutil", - "github.com/aws/aws-sdk-go/private/protocol/jsonrpc", - "github.com/aws/aws-sdk-go/private/protocol/query", - "github.com/aws/aws-sdk-go/private/protocol/query/queryutil", - "github.com/aws/aws-sdk-go/private/protocol/rest", - "github.com/aws/aws-sdk-go/private/protocol/restjson", - "github.com/aws/aws-sdk-go/private/protocol/restxml", - "github.com/aws/aws-sdk-go/private/protocol/xml/xmlutil", - "github.com/aws/aws-sdk-go/private/signer/v2", - "github.com/aws/aws-sdk-go/private/util", - "github.com/aws/aws-sdk-go/service/accessanalyzer", - "github.com/aws/aws-sdk-go/service/acm", - "github.com/aws/aws-sdk-go/service/acmpca", - "github.com/aws/aws-sdk-go/service/alexaforbusiness", - "github.com/aws/aws-sdk-go/service/amplify", - "github.com/aws/aws-sdk-go/service/apigateway", - "github.com/aws/aws-sdk-go/service/apigatewaymanagementapi", - "github.com/aws/aws-sdk-go/service/apigatewayv2", - "github.com/aws/aws-sdk-go/service/appconfig", - "github.com/aws/aws-sdk-go/service/applicationautoscaling", - "github.com/aws/aws-sdk-go/service/applicationdiscoveryservice", - "github.com/aws/aws-sdk-go/service/applicationinsights", - "github.com/aws/aws-sdk-go/service/appmesh", - "github.com/aws/aws-sdk-go/service/appstream", - "github.com/aws/aws-sdk-go/service/appsync", - "github.com/aws/aws-sdk-go/service/athena", - "github.com/aws/aws-sdk-go/service/augmentedairuntime", - "github.com/aws/aws-sdk-go/service/autoscaling", - "github.com/aws/aws-sdk-go/service/autoscalingplans", - "github.com/aws/aws-sdk-go/service/backup", - "github.com/aws/aws-sdk-go/service/batch", - "github.com/aws/aws-sdk-go/service/budgets", - "github.com/aws/aws-sdk-go/service/chime", - "github.com/aws/aws-sdk-go/service/cloud9", - "github.com/aws/aws-sdk-go/service/clouddirectory", - "github.com/aws/aws-sdk-go/service/cloudformation", - "github.com/aws/aws-sdk-go/service/cloudfront", - "github.com/aws/aws-sdk-go/service/cloudfront/sign", - "github.com/aws/aws-sdk-go/service/cloudhsm", - "github.com/aws/aws-sdk-go/service/cloudhsmv2", - "github.com/aws/aws-sdk-go/service/cloudsearch", - "github.com/aws/aws-sdk-go/service/cloudsearchdomain", - "github.com/aws/aws-sdk-go/service/cloudtrail", - "github.com/aws/aws-sdk-go/service/cloudwatch", - "github.com/aws/aws-sdk-go/service/cloudwatchevents", - "github.com/aws/aws-sdk-go/service/cloudwatchlogs", - "github.com/aws/aws-sdk-go/service/codebuild", - "github.com/aws/aws-sdk-go/service/codecommit", - "github.com/aws/aws-sdk-go/service/codedeploy", - "github.com/aws/aws-sdk-go/service/codeguruprofiler", - "github.com/aws/aws-sdk-go/service/codegurureviewer", - "github.com/aws/aws-sdk-go/service/codepipeline", - "github.com/aws/aws-sdk-go/service/codestar", - "github.com/aws/aws-sdk-go/service/codestarconnections", - "github.com/aws/aws-sdk-go/service/codestarnotifications", - "github.com/aws/aws-sdk-go/service/cognitoidentity", - "github.com/aws/aws-sdk-go/service/cognitoidentityprovider", - "github.com/aws/aws-sdk-go/service/cognitosync", - "github.com/aws/aws-sdk-go/service/comprehend", - "github.com/aws/aws-sdk-go/service/comprehendmedical", - "github.com/aws/aws-sdk-go/service/computeoptimizer", - "github.com/aws/aws-sdk-go/service/configservice", - "github.com/aws/aws-sdk-go/service/connect", - "github.com/aws/aws-sdk-go/service/connectparticipant", - "github.com/aws/aws-sdk-go/service/costandusagereportservice", - "github.com/aws/aws-sdk-go/service/costexplorer", - "github.com/aws/aws-sdk-go/service/databasemigrationservice", - "github.com/aws/aws-sdk-go/service/dataexchange", - "github.com/aws/aws-sdk-go/service/datapipeline", - "github.com/aws/aws-sdk-go/service/datasync", - "github.com/aws/aws-sdk-go/service/dax", - "github.com/aws/aws-sdk-go/service/detective", - "github.com/aws/aws-sdk-go/service/devicefarm", - "github.com/aws/aws-sdk-go/service/directconnect", - "github.com/aws/aws-sdk-go/service/directoryservice", - "github.com/aws/aws-sdk-go/service/dlm", - "github.com/aws/aws-sdk-go/service/docdb", - "github.com/aws/aws-sdk-go/service/dynamodb", - "github.com/aws/aws-sdk-go/service/dynamodb/dynamodbattribute", - "github.com/aws/aws-sdk-go/service/dynamodb/dynamodbiface", - "github.com/aws/aws-sdk-go/service/dynamodb/expression", - "github.com/aws/aws-sdk-go/service/dynamodbstreams", - "github.com/aws/aws-sdk-go/service/ebs", - "github.com/aws/aws-sdk-go/service/ec2", - "github.com/aws/aws-sdk-go/service/ec2instanceconnect", - "github.com/aws/aws-sdk-go/service/ecr", - "github.com/aws/aws-sdk-go/service/ecs", - "github.com/aws/aws-sdk-go/service/efs", - "github.com/aws/aws-sdk-go/service/eks", - "github.com/aws/aws-sdk-go/service/elasticache", - "github.com/aws/aws-sdk-go/service/elasticbeanstalk", - "github.com/aws/aws-sdk-go/service/elasticinference", - "github.com/aws/aws-sdk-go/service/elasticsearchservice", - "github.com/aws/aws-sdk-go/service/elastictranscoder", - "github.com/aws/aws-sdk-go/service/elb", - "github.com/aws/aws-sdk-go/service/elbv2", - "github.com/aws/aws-sdk-go/service/emr", - "github.com/aws/aws-sdk-go/service/eventbridge", - "github.com/aws/aws-sdk-go/service/firehose", - "github.com/aws/aws-sdk-go/service/fms", - "github.com/aws/aws-sdk-go/service/forecastqueryservice", - "github.com/aws/aws-sdk-go/service/forecastservice", - "github.com/aws/aws-sdk-go/service/frauddetector", - "github.com/aws/aws-sdk-go/service/fsx", - "github.com/aws/aws-sdk-go/service/gamelift", - "github.com/aws/aws-sdk-go/service/glacier", - "github.com/aws/aws-sdk-go/service/globalaccelerator", - "github.com/aws/aws-sdk-go/service/glue", - "github.com/aws/aws-sdk-go/service/greengrass", - "github.com/aws/aws-sdk-go/service/groundstation", - "github.com/aws/aws-sdk-go/service/guardduty", - "github.com/aws/aws-sdk-go/service/health", - "github.com/aws/aws-sdk-go/service/iam", - "github.com/aws/aws-sdk-go/service/imagebuilder", - "github.com/aws/aws-sdk-go/service/inspector", - "github.com/aws/aws-sdk-go/service/iot", - "github.com/aws/aws-sdk-go/service/iot1clickdevicesservice", - "github.com/aws/aws-sdk-go/service/iot1clickprojects", - "github.com/aws/aws-sdk-go/service/iotanalytics", - "github.com/aws/aws-sdk-go/service/iotdataplane", - "github.com/aws/aws-sdk-go/service/iotevents", - "github.com/aws/aws-sdk-go/service/ioteventsdata", - "github.com/aws/aws-sdk-go/service/iotjobsdataplane", - "github.com/aws/aws-sdk-go/service/iotsecuretunneling", - "github.com/aws/aws-sdk-go/service/iotthingsgraph", - "github.com/aws/aws-sdk-go/service/kafka", - "github.com/aws/aws-sdk-go/service/kendra", - "github.com/aws/aws-sdk-go/service/kinesis", - "github.com/aws/aws-sdk-go/service/kinesisanalytics", - "github.com/aws/aws-sdk-go/service/kinesisanalyticsv2", - "github.com/aws/aws-sdk-go/service/kinesisvideo", - "github.com/aws/aws-sdk-go/service/kinesisvideoarchivedmedia", - "github.com/aws/aws-sdk-go/service/kinesisvideomedia", - "github.com/aws/aws-sdk-go/service/kinesisvideosignalingchannels", - "github.com/aws/aws-sdk-go/service/kms", - "github.com/aws/aws-sdk-go/service/kms/kmsiface", - "github.com/aws/aws-sdk-go/service/lakeformation", - "github.com/aws/aws-sdk-go/service/lambda", - "github.com/aws/aws-sdk-go/service/lexmodelbuildingservice", - "github.com/aws/aws-sdk-go/service/lexruntimeservice", - "github.com/aws/aws-sdk-go/service/licensemanager", - "github.com/aws/aws-sdk-go/service/lightsail", - "github.com/aws/aws-sdk-go/service/machinelearning", - "github.com/aws/aws-sdk-go/service/macie", - "github.com/aws/aws-sdk-go/service/managedblockchain", - "github.com/aws/aws-sdk-go/service/marketplacecatalog", - "github.com/aws/aws-sdk-go/service/marketplacecommerceanalytics", - "github.com/aws/aws-sdk-go/service/marketplaceentitlementservice", - "github.com/aws/aws-sdk-go/service/marketplacemetering", - "github.com/aws/aws-sdk-go/service/mediaconnect", - "github.com/aws/aws-sdk-go/service/mediaconvert", - "github.com/aws/aws-sdk-go/service/medialive", - "github.com/aws/aws-sdk-go/service/mediapackage", - "github.com/aws/aws-sdk-go/service/mediapackagevod", - "github.com/aws/aws-sdk-go/service/mediastore", - "github.com/aws/aws-sdk-go/service/mediastoredata", - "github.com/aws/aws-sdk-go/service/mediatailor", - "github.com/aws/aws-sdk-go/service/migrationhub", - "github.com/aws/aws-sdk-go/service/migrationhubconfig", - "github.com/aws/aws-sdk-go/service/mobile", - "github.com/aws/aws-sdk-go/service/mobileanalytics", - "github.com/aws/aws-sdk-go/service/mq", - "github.com/aws/aws-sdk-go/service/mturk", - "github.com/aws/aws-sdk-go/service/neptune", - "github.com/aws/aws-sdk-go/service/networkmanager", - "github.com/aws/aws-sdk-go/service/opsworks", - "github.com/aws/aws-sdk-go/service/opsworkscm", - "github.com/aws/aws-sdk-go/service/organizations", - "github.com/aws/aws-sdk-go/service/outposts", - "github.com/aws/aws-sdk-go/service/personalize", - "github.com/aws/aws-sdk-go/service/personalizeevents", - "github.com/aws/aws-sdk-go/service/personalizeruntime", - "github.com/aws/aws-sdk-go/service/pi", - "github.com/aws/aws-sdk-go/service/pinpoint", - "github.com/aws/aws-sdk-go/service/pinpointemail", - "github.com/aws/aws-sdk-go/service/pinpointsmsvoice", - "github.com/aws/aws-sdk-go/service/polly", - "github.com/aws/aws-sdk-go/service/pricing", - "github.com/aws/aws-sdk-go/service/qldb", - "github.com/aws/aws-sdk-go/service/qldbsession", - "github.com/aws/aws-sdk-go/service/quicksight", - "github.com/aws/aws-sdk-go/service/ram", - "github.com/aws/aws-sdk-go/service/rds", - "github.com/aws/aws-sdk-go/service/rds/rdsutils", - "github.com/aws/aws-sdk-go/service/rdsdataservice", - "github.com/aws/aws-sdk-go/service/redshift", - "github.com/aws/aws-sdk-go/service/rekognition", - "github.com/aws/aws-sdk-go/service/resourcegroups", - "github.com/aws/aws-sdk-go/service/resourcegroupstaggingapi", - "github.com/aws/aws-sdk-go/service/robomaker", - "github.com/aws/aws-sdk-go/service/route53", - "github.com/aws/aws-sdk-go/service/route53domains", - "github.com/aws/aws-sdk-go/service/route53resolver", - "github.com/aws/aws-sdk-go/service/s3", - "github.com/aws/aws-sdk-go/service/s3/internal/arn", - "github.com/aws/aws-sdk-go/service/s3/internal/s3testing", - "github.com/aws/aws-sdk-go/service/s3/s3crypto", - "github.com/aws/aws-sdk-go/service/s3/s3iface", - "github.com/aws/aws-sdk-go/service/s3/s3manager", - "github.com/aws/aws-sdk-go/service/s3control", - "github.com/aws/aws-sdk-go/service/s3control/s3controliface", - "github.com/aws/aws-sdk-go/service/sagemaker", - "github.com/aws/aws-sdk-go/service/sagemakerruntime", - "github.com/aws/aws-sdk-go/service/savingsplans", - "github.com/aws/aws-sdk-go/service/schemas", - "github.com/aws/aws-sdk-go/service/secretsmanager", - "github.com/aws/aws-sdk-go/service/securityhub", - "github.com/aws/aws-sdk-go/service/serverlessapplicationrepository", - "github.com/aws/aws-sdk-go/service/servicecatalog", - "github.com/aws/aws-sdk-go/service/servicediscovery", - "github.com/aws/aws-sdk-go/service/servicequotas", - "github.com/aws/aws-sdk-go/service/ses", - "github.com/aws/aws-sdk-go/service/sesv2", - "github.com/aws/aws-sdk-go/service/sfn", - "github.com/aws/aws-sdk-go/service/shield", - "github.com/aws/aws-sdk-go/service/signer", - "github.com/aws/aws-sdk-go/service/simpledb", - "github.com/aws/aws-sdk-go/service/sms", - "github.com/aws/aws-sdk-go/service/snowball", - "github.com/aws/aws-sdk-go/service/sns", - "github.com/aws/aws-sdk-go/service/sqs", - "github.com/aws/aws-sdk-go/service/sqs/sqsiface", - "github.com/aws/aws-sdk-go/service/ssm", - "github.com/aws/aws-sdk-go/service/sso", - "github.com/aws/aws-sdk-go/service/ssooidc", - "github.com/aws/aws-sdk-go/service/storagegateway", - "github.com/aws/aws-sdk-go/service/sts", - "github.com/aws/aws-sdk-go/service/sts/stsiface", - "github.com/aws/aws-sdk-go/service/support", - "github.com/aws/aws-sdk-go/service/swf", - "github.com/aws/aws-sdk-go/service/textract", - "github.com/aws/aws-sdk-go/service/transcribeservice", - "github.com/aws/aws-sdk-go/service/transcribestreamingservice", - "github.com/aws/aws-sdk-go/service/transfer", - "github.com/aws/aws-sdk-go/service/translate", - "github.com/aws/aws-sdk-go/service/waf", - "github.com/aws/aws-sdk-go/service/wafregional", - "github.com/aws/aws-sdk-go/service/wafv2", - "github.com/aws/aws-sdk-go/service/workdocs", - "github.com/aws/aws-sdk-go/service/worklink", - "github.com/aws/aws-sdk-go/service/workmail", - "github.com/aws/aws-sdk-go/service/workmailmessageflow", - "github.com/aws/aws-sdk-go/service/workspaces", - "github.com/aws/aws-sdk-go/service/xray", - "github.com/davecgh/go-spew/spew", - "github.com/davecgh/go-spew/spew/testdata", - "github.com/go-sql-driver/mysql", - "github.com/gofrs/uuid", - "github.com/jmespath/go-jmespath", - "github.com/pkg/errors", - "github.com/pmezard/go-difflib/difflib", - "github.com/stretchr/objx", - "github.com/stretchr/testify/assert", - "github.com/stretchr/testify/http", - "github.com/stretchr/testify/mock", - "github.com/stretchr/testify/require", - "golang.org/x/net/html", - "golang.org/x/net/html/atom", - "golang.org/x/net/http2", - "gopkg.in/yaml.v2", - ] - solver-name = "gps-cdcl" - solver-version = 1 diff --git a/Gopkg.toml b/Gopkg.toml deleted file mode 100644 index b880aa1..0000000 --- a/Gopkg.toml +++ /dev/null @@ -1,38 +0,0 @@ -# Gopkg.toml example -# -# Refer to https://golang.github.io/dep/docs/Gopkg.toml.html -# for detailed Gopkg.toml documentation. -# -# required = ["github.com/user/thing/cmd/thing"] -# ignored = ["github.com/user/project/pkgX", "bitbucket.org/user/project/pkgA/pkgY"] -# -# [[constraint]] -# name = "github.com/user/project" -# version = "1.0.0" -# -# [[constraint]] -# name = "github.com/user/project2" -# branch = "dev" -# source = "github.com/myfork/project2" -# -# [[override]] -# name = "github.com/x/y" -# version = "2.4.0" -# -# [prune] -# non-go = false -# go-tests = true -# unused-packages = true - - -[[constraint]] - name = "github.com/antlr/antlr4" - version = "4.7.1" - -[[constraint]] - name = "github.com/aws/aws-sdk-go" - version = "1.30.7" - -[prune] - go-tests = true - unused-packages = true diff --git a/Makefile b/Makefile index 65c42dc..574dcd6 100644 --- a/Makefile +++ b/Makefile @@ -1,28 +1,17 @@ MAKEFILE := $(realpath $(lastword $(MAKEFILE_LIST))) ROOT_DIR := $(shell dirname $(MAKEFILE)) -GOPATH := $(ROOT_DIR)/gopath -SRC_LINK := $(GOPATH)/src/github.com/aws/aws-dax-go - -DEP_INSTALL_DIRECTORY := $(GOPATH)/bin -INSTALL_DIRECTORY := $(DEP_INSTALL_DIRECTORY) -DEP_RELEASE_TAG := v0.4.1 -DEP_INSTALLER_URL := "https://raw.githubusercontent.com/golang/dep/master/install.sh" - -DEP_EXE := $(DEP_INSTALL_DIRECTORY)/dep -DEP_TOML := Gopkg.toml -DEP_LOCK := Gopkg.lock -SOURCES := $(wildcard *.go */*.go) $(SRC_LINK) $(DEP_LOCK) $(MAKEFILE) + +SOURCES := $(wildcard *.go */*.go) $(SRC_LINK) $(MAKEFILE) REVISION := $(shell git log -n 1 --pretty=format:%h -- $(SOURCES)) BUILD_FLAGS := -a -ldflags "-X revision=$(REVISION) -w -extldflags=$(LDFLAGS)" -tags "$(TAGS)" -__PKGS = $(or $($PKG), $(shell cd $(SRC_LINK) && \ - env GOPATH=$(GOPATH) go list ./... | grep -v "vendor" | grep -v "gopath")) +__PKGS = $(or $($PKG), $(shell go list ./... | grep -v "vendor" | grep -v "gopath")) # Memoize PKGS so it is executed only once on-demand. PKGS = $(if $(__PKGS),,$(eval __PKGS := $$(__PKGS)))$(__PKGS) # Allow target test packages to be overridden, e.g. $ make test TEST=TestBasic TEST := . -export GOPATH unexport GOBIN +export GO111MODULE=on all: test @@ -35,15 +24,11 @@ $(SRC_LINK): mkdir -p $(shell dirname $(SRC_LINK)) ln -sf $(ROOT_DIR) $(SRC_LINK) -vendor: $(DEP_TOML) $(DEP_EXE) - cd $(SRC_LINK) && $(DEP_EXE) ensure && touch $@ - -$(DEP_EXE): - mkdir -p $(DEP_INSTALL_DIRECTORY) - curl $(DEP_INSTALLER_URL) | sh +vendor: + go mod vendor test: $(SOURCES) vendor - SHELL=/bin/sh GOOS= go test -v -tags "$(TAGS)" -run $(TEST) $(PKGS) + SHELL=/bin/sh GOOS= go test -coverprofile=coverageunit.out -covermode=atomic -v -tags "$(TAGS)" -run $(TEST) $(PKGS) benchmark: $(SOURCES) vendor SHELL=/bin/sh GOOS= go test -tags "$(TAGS)" \ @@ -53,6 +38,6 @@ clean: rm -rf target build: $(SOURCES) vendor - go build $(BUILD_FLAGS) $(PKGS) + go build -mod=vendor $(BUILD_FLAGS) $(PKGS) -.PHONY: all release release-all test build clean benchmark \ No newline at end of file +.PHONY: all release release-all test build clean benchmark From 5bc44dc7a40ca26c57c694cd588be30a1646c292 Mon Sep 17 00:00:00 2001 From: Naveen Chalasani Date: Fri, 17 Nov 2023 09:35:46 +0530 Subject: [PATCH 2/2] Updates makefile --- Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 574dcd6..6987288 100644 --- a/Makefile +++ b/Makefile @@ -4,14 +4,15 @@ ROOT_DIR := $(shell dirname $(MAKEFILE)) SOURCES := $(wildcard *.go */*.go) $(SRC_LINK) $(MAKEFILE) REVISION := $(shell git log -n 1 --pretty=format:%h -- $(SOURCES)) BUILD_FLAGS := -a -ldflags "-X revision=$(REVISION) -w -extldflags=$(LDFLAGS)" -tags "$(TAGS)" -__PKGS = $(or $($PKG), $(shell go list ./... | grep -v "vendor" | grep -v "gopath")) +__PKGS = $(or $($PKG), $(shell go list ./... | grep -v "vendor")) # Memoize PKGS so it is executed only once on-demand. PKGS = $(if $(__PKGS),,$(eval __PKGS := $$(__PKGS)))$(__PKGS) # Allow target test packages to be overridden, e.g. $ make test TEST=TestBasic TEST := . +GO111MODULE=on unexport GOBIN -export GO111MODULE=on +export GO111MODULE all: test