mirror of
https://github.com/hyperledger/fabric-samples.git
synced 2026-06-17 15:35:09 +00:00
Additional Auction Cleanup
Remove unused orgMSP vars and replace `==` with `===`. Signed-off-by: Brett Logan <lindluni@github.com>
This commit is contained in:
parent
9b071d0463
commit
65b3741a93
12 changed files with 71 additions and 78 deletions
|
|
@ -62,8 +62,8 @@ async function bid(ccp,wallet,user,orgMSP,auctionID,price) {
|
|||
async function main() {
|
||||
try {
|
||||
|
||||
if (process.argv[2] == undefined || process.argv[3] == undefined ||
|
||||
process.argv[4] == undefined || process.argv[5] == undefined) {
|
||||
if (process.argv[2] === undefined || process.argv[3] === undefined ||
|
||||
process.argv[4] === undefined || process.argv[5] === undefined) {
|
||||
console.log('Usage: node bid.js org userID auctionID price');
|
||||
process.exit(1);
|
||||
}
|
||||
|
|
@ -73,7 +73,7 @@ async function main() {
|
|||
const auctionID = process.argv[4];
|
||||
const price = process.argv[5];
|
||||
|
||||
if (org == 'Org1' || org == 'org1') {
|
||||
if (org === 'Org1' || org === 'org1') {
|
||||
|
||||
const orgMSP = 'Org1MSP';
|
||||
const ccp = buildCCPOrg1();
|
||||
|
|
@ -81,7 +81,7 @@ async function main() {
|
|||
const wallet = await buildWallet(Wallets, walletPath);
|
||||
await bid(ccp,wallet,user,orgMSP,auctionID,price);
|
||||
}
|
||||
else if (org == 'Org2' || org == 'org2') {
|
||||
else if (org === 'Org2' || org === 'org2') {
|
||||
|
||||
const orgMSP = 'Org2MSP';
|
||||
const ccp = buildCCPOrg2();
|
||||
|
|
|
|||
|
|
@ -17,8 +17,8 @@ async function closeAuction(ccp,wallet,user,auctionID) {
|
|||
try {
|
||||
|
||||
const gateway = new Gateway();
|
||||
//connect using Discovery enabled
|
||||
|
||||
//connect using Discovery enabled
|
||||
await gateway.connect(ccp,
|
||||
{ wallet: wallet, identity: user, discovery: { enabled: true, asLocalhost: true } });
|
||||
|
||||
|
|
@ -31,7 +31,7 @@ async function closeAuction(ccp,wallet,user,auctionID) {
|
|||
|
||||
let statefulTxn = contract.createTransaction('CloseAuction');
|
||||
|
||||
if (auctionJSON.organizations.length == 2) {
|
||||
if (auctionJSON.organizations.length === 2) {
|
||||
statefulTxn.setEndorsingOrganizations(auctionJSON.organizations[0],auctionJSON.organizations[1]);
|
||||
} else {
|
||||
statefulTxn.setEndorsingOrganizations(auctionJSON.organizations[0]);
|
||||
|
|
@ -55,8 +55,8 @@ async function closeAuction(ccp,wallet,user,auctionID) {
|
|||
async function main() {
|
||||
try {
|
||||
|
||||
if (process.argv[2] == undefined || process.argv[3] == undefined ||
|
||||
process.argv[4] == undefined) {
|
||||
if (process.argv[2] === undefined || process.argv[3] === undefined ||
|
||||
process.argv[4] === undefined) {
|
||||
console.log('Usage: node closeAuction.js org userID auctionID');
|
||||
process.exit(1);
|
||||
}
|
||||
|
|
@ -65,17 +65,13 @@ async function main() {
|
|||
const user = process.argv[3];
|
||||
const auctionID = process.argv[4];
|
||||
|
||||
if (org == 'Org1' || org == 'org1') {
|
||||
|
||||
const orgMSP = 'Org1MSP';
|
||||
if (org === 'Org1' || org === 'org1') {
|
||||
const ccp = buildCCPOrg1();
|
||||
const walletPath = path.join(__dirname, 'wallet/org1');
|
||||
const wallet = await buildWallet(Wallets, walletPath);
|
||||
await closeAuction(ccp,wallet,user,auctionID);
|
||||
}
|
||||
else if (org == 'Org2' || org == 'org2') {
|
||||
|
||||
const orgMSP = 'Org2MSP';
|
||||
else if (org === 'Org2' || org === 'org2') {
|
||||
const ccp = buildCCPOrg2();
|
||||
const walletPath = path.join(__dirname, 'wallet/org2');
|
||||
const wallet = await buildWallet(Wallets, walletPath);
|
||||
|
|
|
|||
|
|
@ -17,8 +17,8 @@ async function createAuction(ccp,wallet,user,auctionID,item) {
|
|||
try {
|
||||
|
||||
const gateway = new Gateway();
|
||||
//connect using Discovery enabled
|
||||
|
||||
//connect using Discovery enabled
|
||||
await gateway.connect(ccp,
|
||||
{ wallet: wallet, identity: user, discovery: { enabled: true, asLocalhost: true } });
|
||||
|
||||
|
|
@ -44,8 +44,8 @@ async function createAuction(ccp,wallet,user,auctionID,item) {
|
|||
async function main() {
|
||||
try {
|
||||
|
||||
if (process.argv[2] == undefined || process.argv[3] == undefined ||
|
||||
process.argv[4] == undefined || process.argv[5] == undefined) {
|
||||
if (process.argv[2] === undefined || process.argv[3] === undefined ||
|
||||
process.argv[4] === undefined || process.argv[5] === undefined) {
|
||||
console.log('Usage: node createAuction.js org userID auctionID item');
|
||||
process.exit(1);
|
||||
}
|
||||
|
|
@ -55,17 +55,13 @@ async function main() {
|
|||
const auctionID = process.argv[4];
|
||||
const item = process.argv[5];
|
||||
|
||||
if (org == 'Org1' || org == 'org1') {
|
||||
|
||||
const orgMSP = 'Org1MSP';
|
||||
if (org === 'Org1' || org === 'org1') {
|
||||
const ccp = buildCCPOrg1();
|
||||
const walletPath = path.join(__dirname, 'wallet/org1');
|
||||
const wallet = await buildWallet(Wallets, walletPath);
|
||||
await createAuction(ccp,wallet,user,auctionID,item);
|
||||
}
|
||||
else if (org == 'Org2' || org == 'org2') {
|
||||
|
||||
const orgMSP = 'Org2MSP';
|
||||
else if (org === 'Org2' || org === 'org2') {
|
||||
const ccp = buildCCPOrg2();
|
||||
const walletPath = path.join(__dirname, 'wallet/org2');
|
||||
const wallet = await buildWallet(Wallets, walletPath);
|
||||
|
|
|
|||
|
|
@ -17,8 +17,8 @@ async function endAuction(ccp,wallet,user,auctionID) {
|
|||
try {
|
||||
|
||||
const gateway = new Gateway();
|
||||
//connect using Discovery enabled
|
||||
|
||||
//connect using Discovery enabled
|
||||
await gateway.connect(ccp,
|
||||
{ wallet: wallet, identity: user, discovery: { enabled: true, asLocalhost: true } });
|
||||
|
||||
|
|
@ -31,7 +31,7 @@ async function endAuction(ccp,wallet,user,auctionID) {
|
|||
|
||||
let statefulTxn = contract.createTransaction('EndAuction');
|
||||
|
||||
if (auctionJSON.organizations.length == 2) {
|
||||
if (auctionJSON.organizations.length === 2) {
|
||||
statefulTxn.setEndorsingOrganizations(auctionJSON.organizations[0],auctionJSON.organizations[1]);
|
||||
} else {
|
||||
statefulTxn.setEndorsingOrganizations(auctionJSON.organizations[0]);
|
||||
|
|
@ -55,8 +55,8 @@ async function endAuction(ccp,wallet,user,auctionID) {
|
|||
async function main() {
|
||||
try {
|
||||
|
||||
if (process.argv[2] == undefined || process.argv[3] == undefined ||
|
||||
process.argv[4] == undefined) {
|
||||
if (process.argv[2] === undefined || process.argv[3] === undefined ||
|
||||
process.argv[4] === undefined) {
|
||||
console.log('Usage: node endAuction.js org userID auctionID');
|
||||
process.exit(1);
|
||||
}
|
||||
|
|
@ -65,17 +65,13 @@ async function main() {
|
|||
const user = process.argv[3];
|
||||
const auctionID = process.argv[4];
|
||||
|
||||
if (org == 'Org1' || org == 'org1') {
|
||||
|
||||
const orgMSP = 'Org1MSP';
|
||||
if (org === 'Org1' || org === 'org1') {
|
||||
const ccp = buildCCPOrg1();
|
||||
const walletPath = path.join(__dirname, 'wallet/org1');
|
||||
const wallet = await buildWallet(Wallets, walletPath);
|
||||
await endAuction(ccp,wallet,user,auctionID);
|
||||
}
|
||||
else if (org == 'Org2' || org == 'org2') {
|
||||
|
||||
const orgMSP = 'Org2MSP';
|
||||
else if (org === 'Org2' || org === 'org2') {
|
||||
const ccp = buildCCPOrg2();
|
||||
const walletPath = path.join(__dirname, 'wallet/org2');
|
||||
const wallet = await buildWallet(Wallets, walletPath);
|
||||
|
|
|
|||
|
|
@ -40,7 +40,7 @@ async function connectToOrg2CA() {
|
|||
}
|
||||
async function main() {
|
||||
|
||||
if (process.argv[2] == undefined) {
|
||||
if (process.argv[2] === undefined) {
|
||||
console.log('Usage: node enrollAdmin.js Org');
|
||||
process.exit(1);
|
||||
}
|
||||
|
|
@ -49,10 +49,10 @@ async function main() {
|
|||
|
||||
try {
|
||||
|
||||
if (org == 'Org1' || org == 'org1') {
|
||||
if (org === 'Org1' || org === 'org1') {
|
||||
await connectToOrg1CA();
|
||||
}
|
||||
else if (org == 'Org2' || org == 'org2') {
|
||||
else if (org === 'Org2' || org === 'org2') {
|
||||
await connectToOrg2CA();
|
||||
} else {
|
||||
console.log('Usage: node registerUser.js org userID');
|
||||
|
|
|
|||
|
|
@ -17,8 +17,8 @@ async function queryAuction(ccp,wallet,user,auctionID) {
|
|||
try {
|
||||
|
||||
const gateway = new Gateway();
|
||||
//connect using Discovery enabled
|
||||
|
||||
//connect using Discovery enabled
|
||||
await gateway.connect(ccp,
|
||||
{ wallet: wallet, identity: user, discovery: { enabled: true, asLocalhost: true } });
|
||||
|
||||
|
|
@ -38,8 +38,8 @@ async function queryAuction(ccp,wallet,user,auctionID) {
|
|||
async function main() {
|
||||
try {
|
||||
|
||||
if (process.argv[2] == undefined || process.argv[3] == undefined ||
|
||||
process.argv[4] == undefined) {
|
||||
if (process.argv[2] === undefined || process.argv[3] === undefined ||
|
||||
process.argv[4] === undefined) {
|
||||
console.log('Usage: node queryAuction.js org userID auctionID');
|
||||
process.exit(1);
|
||||
}
|
||||
|
|
@ -48,17 +48,13 @@ async function main() {
|
|||
const user = process.argv[3];
|
||||
const auctionID = process.argv[4];
|
||||
|
||||
if (org == 'Org1' || org == 'org1') {
|
||||
|
||||
const orgMSP = 'Org1MSP';
|
||||
if (org === 'Org1' || org === 'org1') {
|
||||
const ccp = buildCCPOrg1();
|
||||
const walletPath = path.join(__dirname, 'wallet/org1');
|
||||
const wallet = await buildWallet(Wallets, walletPath);
|
||||
await queryAuction(ccp,wallet,user,auctionID);
|
||||
}
|
||||
else if (org == 'Org2' || org == 'org2') {
|
||||
|
||||
const orgMSP = 'Org2MSP';
|
||||
else if (org === 'Org2' || org === 'org2') {
|
||||
const ccp = buildCCPOrg2();
|
||||
const walletPath = path.join(__dirname, 'wallet/org2');
|
||||
const wallet = await buildWallet(Wallets, walletPath);
|
||||
|
|
|
|||
|
|
@ -17,8 +17,8 @@ async function queryBid(ccp,wallet,user,auctionID,bidID) {
|
|||
try {
|
||||
|
||||
const gateway = new Gateway();
|
||||
//connect using Discovery enabled
|
||||
|
||||
//connect using Discovery enabled
|
||||
await gateway.connect(ccp,
|
||||
{ wallet: wallet, identity: user, discovery: { enabled: true, asLocalhost: true } });
|
||||
|
||||
|
|
@ -38,8 +38,8 @@ async function queryBid(ccp,wallet,user,auctionID,bidID) {
|
|||
async function main() {
|
||||
try {
|
||||
|
||||
if (process.argv[2] == undefined || process.argv[3] == undefined ||
|
||||
process.argv[4] == undefined || process.argv[5] == undefined) {
|
||||
if (process.argv[2] === undefined || process.argv[3] === undefined ||
|
||||
process.argv[4] === undefined || process.argv[5] === undefined) {
|
||||
console.log('Usage: node bid.js org userID auctionID bidID');
|
||||
process.exit(1);
|
||||
}
|
||||
|
|
@ -49,17 +49,13 @@ async function main() {
|
|||
const auctionID = process.argv[4];
|
||||
const bidID = process.argv[5];
|
||||
|
||||
if (org == 'Org1' || org == 'org1') {
|
||||
|
||||
const orgMSP = 'Org1MSP';
|
||||
if (org === 'Org1' || org === 'org1') {
|
||||
const ccp = buildCCPOrg1();
|
||||
const walletPath = path.join(__dirname, 'wallet/org1');
|
||||
const wallet = await buildWallet(Wallets, walletPath);
|
||||
await queryBid(ccp,wallet,user,auctionID,bidID);
|
||||
}
|
||||
else if (org == 'Org2' || org == 'org2') {
|
||||
|
||||
const orgMSP = 'Org2MSP';
|
||||
else if (org === 'Org2' || org === 'org2') {
|
||||
const ccp = buildCCPOrg2();
|
||||
const walletPath = path.join(__dirname, 'wallet/org2');
|
||||
const wallet = await buildWallet(Wallets, walletPath);
|
||||
|
|
|
|||
|
|
@ -40,7 +40,7 @@ async function connectToOrg2CA(UserID) {
|
|||
}
|
||||
async function main() {
|
||||
|
||||
if (process.argv[2] == undefined && process.argv[3] == undefined) {
|
||||
if (process.argv[2] === undefined && process.argv[3] === undefined) {
|
||||
console.log('Usage: node registerEnrollUser.js org userID');
|
||||
process.exit(1);
|
||||
}
|
||||
|
|
@ -50,10 +50,10 @@ async function main() {
|
|||
|
||||
try {
|
||||
|
||||
if (org == 'Org1' || org == 'org1') {
|
||||
if (org === 'Org1' || org === 'org1') {
|
||||
await connectToOrg1CA(userId);
|
||||
}
|
||||
else if (org == 'Org2' || org == 'org2') {
|
||||
else if (org === 'Org2' || org === 'org2') {
|
||||
await connectToOrg2CA(userId);
|
||||
} else {
|
||||
console.log('Usage: node registerEnrollUser.js org userID');
|
||||
|
|
|
|||
|
|
@ -17,8 +17,6 @@ async function addBid(ccp,wallet,user,auctionID,bidID) {
|
|||
try {
|
||||
|
||||
const gateway = new Gateway();
|
||||
//connect using Discovery enabled
|
||||
|
||||
await gateway.connect(ccp,
|
||||
{ wallet: wallet, identity: user, discovery: { enabled: true, asLocalhost: true } });
|
||||
|
||||
|
|
@ -43,7 +41,7 @@ async function addBid(ccp,wallet,user,auctionID,bidID) {
|
|||
bid: tmapData
|
||||
});
|
||||
|
||||
if (auctionJSON.organizations.length == 2) {
|
||||
if (auctionJSON.organizations.length === 2) {
|
||||
statefulTxn.setEndorsingOrganizations(auctionJSON.organizations[0],auctionJSON.organizations[1]);
|
||||
} else {
|
||||
statefulTxn.setEndorsingOrganizations(auctionJSON.organizations[0]);
|
||||
|
|
@ -65,8 +63,8 @@ async function addBid(ccp,wallet,user,auctionID,bidID) {
|
|||
async function main() {
|
||||
try {
|
||||
|
||||
if (process.argv[2] == undefined || process.argv[3] == undefined ||
|
||||
process.argv[4] == undefined || process.argv[5] == undefined) {
|
||||
if (process.argv[2] === undefined || process.argv[3] === undefined ||
|
||||
process.argv[4] === undefined || process.argv[5] === undefined) {
|
||||
console.log('Usage: node revealBid.js org userID auctionID bidID');
|
||||
process.exit(1);
|
||||
}
|
||||
|
|
@ -76,17 +74,13 @@ async function main() {
|
|||
const auctionID = process.argv[4];
|
||||
const bidID = process.argv[5];
|
||||
|
||||
if (org == 'Org1' || org == 'org1') {
|
||||
|
||||
const orgMSP = 'Org1MSP';
|
||||
if (org === 'Org1' || org === 'org1') {
|
||||
const ccp = buildCCPOrg1();
|
||||
const walletPath = path.join(__dirname, 'wallet/org1');
|
||||
const wallet = await buildWallet(Wallets, walletPath);
|
||||
await addBid(ccp,wallet,user,auctionID,bidID);
|
||||
}
|
||||
else if (org == 'Org2' || org == 'org2') {
|
||||
|
||||
const orgMSP = 'Org2MSP';
|
||||
else if (org === 'Org2' || org === 'org2') {
|
||||
const ccp = buildCCPOrg2();
|
||||
const walletPath = path.join(__dirname, 'wallet/org2');
|
||||
const wallet = await buildWallet(Wallets, walletPath);
|
||||
|
|
|
|||
|
|
@ -27,8 +27,8 @@ async function submitBid(ccp,wallet,user,auctionID,bidID) {
|
|||
try {
|
||||
|
||||
const gateway = new Gateway();
|
||||
//connect using Discovery enabled
|
||||
|
||||
//connect using Discovery enabled
|
||||
await gateway.connect(ccp,
|
||||
{ wallet: wallet, identity: user, discovery: { enabled: true, asLocalhost: true } });
|
||||
|
||||
|
|
@ -41,7 +41,7 @@ async function submitBid(ccp,wallet,user,auctionID,bidID) {
|
|||
|
||||
let statefulTxn = contract.createTransaction('SubmitBid');
|
||||
|
||||
if (auctionJSON.organizations.length == 2) {
|
||||
if (auctionJSON.organizations.length === 2) {
|
||||
statefulTxn.setEndorsingOrganizations(auctionJSON.organizations[0],auctionJSON.organizations[1]);
|
||||
} else {
|
||||
statefulTxn.setEndorsingOrganizations(auctionJSON.organizations[0]);
|
||||
|
|
@ -64,8 +64,8 @@ async function submitBid(ccp,wallet,user,auctionID,bidID) {
|
|||
async function main() {
|
||||
try {
|
||||
|
||||
if (process.argv[2] == undefined || process.argv[3] == undefined ||
|
||||
process.argv[4] == undefined || process.argv[5] == undefined) {
|
||||
if (process.argv[2] === undefined || process.argv[3] === undefined ||
|
||||
process.argv[4] === undefined || process.argv[5] === undefined) {
|
||||
console.log('Usage: node submitBid.js org userID auctionID bidID');
|
||||
process.exit(1);
|
||||
}
|
||||
|
|
@ -75,17 +75,13 @@ async function main() {
|
|||
const auctionID = process.argv[4];
|
||||
const bidID = process.argv[5];
|
||||
|
||||
if (org == 'Org1' || org == 'org1') {
|
||||
|
||||
const orgMSP = 'Org1MSP';
|
||||
if (org === 'Org1' || org === 'org1') {
|
||||
const ccp = buildCCPOrg1();
|
||||
const walletPath = path.join(__dirname, 'wallet/org1');
|
||||
const wallet = await buildWallet(Wallets, walletPath);
|
||||
await submitBid(ccp,wallet,user,auctionID,bidID);
|
||||
}
|
||||
else if (org == 'Org2' || org == 'org2') {
|
||||
|
||||
const orgMSP = 'Org2MSP';
|
||||
else if (org === 'Org2' || org === 'org2') {
|
||||
const ccp = buildCCPOrg2();
|
||||
const walletPath = path.join(__dirname, 'wallet/org2');
|
||||
const wallet = await buildWallet(Wallets, walletPath);
|
||||
|
|
|
|||
|
|
@ -5,4 +5,5 @@ go 1.15
|
|||
require (
|
||||
github.com/hyperledger/fabric-chaincode-go v0.0.0-20200728190242-9b3ae92d8664
|
||||
github.com/hyperledger/fabric-contract-api-go v1.1.0
|
||||
golang.org/x/tools v0.1.0 // indirect
|
||||
)
|
||||
|
|
|
|||
|
|
@ -94,19 +94,28 @@ github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415/go.mod h1:
|
|||
github.com/xeipuuv/gojsonschema v1.2.0 h1:LhYJRs+L4fBtjZUfuSZIKGeVu0QRy8e5Xi7D17UxZ74=
|
||||
github.com/xeipuuv/gojsonschema v1.2.0/go.mod h1:anYRn/JVcOK2ZgGU+IjEV4nwlhoK5sQluxsYJ78Id3Y=
|
||||
github.com/xordataexchange/crypt v0.0.3-0.20170626215501-b2862e3d0a77/go.mod h1:aYKd//L2LvnjZzWKhF00oedf4jCCReLcmhLdhm1A27Q=
|
||||
github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
|
||||
golang.org/x/crypto v0.0.0-20181203042331-505ab145d0a9/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4=
|
||||
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
|
||||
golang.org/x/crypto v0.0.0-20190611184440-5c40567a22f8/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
|
||||
golang.org/x/crypto v0.0.0-20190621222207-cc06ce4a13d4/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
|
||||
golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
|
||||
golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto=
|
||||
golang.org/x/lint v0.0.0-20190313153728-d0100b6bd8b3/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc=
|
||||
golang.org/x/mod v0.3.0 h1:RM4zey1++hCTbCVQfnWeKs9/IEsaBLA8vTkd0WVtmH4=
|
||||
golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA=
|
||||
golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
|
||||
golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
|
||||
golang.org/x/net v0.0.0-20190522155817-f3200d17e092/go.mod h1:HSz+uSET+XFnRR8LxR5pz3Of3rY3CfYBVs4xY44aLks=
|
||||
golang.org/x/net v0.0.0-20190613194153-d28f0bde5980/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
|
||||
golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
|
||||
golang.org/x/net v0.0.0-20190827160401-ba9fcec4b297 h1:k7pJ2yAPLPgbskkFdhRCsA77k2fySZ1zf2zCjvQCiIM=
|
||||
golang.org/x/net v0.0.0-20190827160401-ba9fcec4b297/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
|
||||
golang.org/x/net v0.0.0-20201021035429-f5854403a974 h1:IX6qOQeG5uLjB/hjjwjedwfjND0hgjPMMyO1RoIXQNI=
|
||||
golang.org/x/net v0.0.0-20201021035429-f5854403a974/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU=
|
||||
golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U=
|
||||
golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
|
||||
golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
|
||||
golang.org/x/sys v0.0.0-20181205085412-a5c9d58dba9a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
|
||||
golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
|
||||
golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
|
||||
|
|
@ -115,14 +124,27 @@ golang.org/x/sys v0.0.0-20190515120540-06a5c4944438/go.mod h1:h1NjWce9XRLGQEsW7w
|
|||
golang.org/x/sys v0.0.0-20190616124812-15dcb6c0061f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
|
||||
golang.org/x/sys v0.0.0-20190710143415-6ec70d6a5542 h1:6ZQFf1D2YYDDI7eSwW8adlkkavTB9sw5I24FVtEvNUQ=
|
||||
golang.org/x/sys v0.0.0-20190710143415-6ec70d6a5542/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
|
||||
golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
|
||||
golang.org/x/sys v0.0.0-20210119212857-b64e53b001e4 h1:myAQVi0cGEoqQVR5POX+8RR2mrocKqNN1hmeMqhX27k=
|
||||
golang.org/x/sys v0.0.0-20210119212857-b64e53b001e4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
|
||||
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
|
||||
golang.org/x/text v0.3.2 h1:tW2bmiBqwgJj/UpqtC8EpXEZVYOwU0yG4iWbprSVAcs=
|
||||
golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk=
|
||||
golang.org/x/text v0.3.3 h1:cokOdA+Jmi5PJGXLlLllQSgYigAEfHXJAERHVMaCc2k=
|
||||
golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
|
||||
golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
|
||||
golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs=
|
||||
golang.org/x/tools v0.0.0-20190524140312-2c0ae7006135/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q=
|
||||
golang.org/x/tools v0.0.0-20190614205625-5aca471b1d59/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc=
|
||||
golang.org/x/tools v0.0.0-20190624180213-70d37148ca0c h1:KfpJVdWhuRqNk4XVXzjXf2KAV4TBEP77SYdFGjeGuIE=
|
||||
golang.org/x/tools v0.0.0-20190624180213-70d37148ca0c/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc=
|
||||
golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
|
||||
golang.org/x/tools v0.1.0 h1:po9/4sTYwZU9lPhi1tOrb4hCv3qrhiQ77LZfGa2OjwY=
|
||||
golang.org/x/tools v0.1.0/go.mod h1:xkSsbof2nBLbhDlRMhhhyNLN/zl3eTqcnHD5viDpcZ0=
|
||||
golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
|
||||
golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
|
||||
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 h1:go1bK/D/BFZV2I8cIQd1NKEZ+0owSTG1fDTci4IqFcE=
|
||||
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
|
||||
google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM=
|
||||
google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc=
|
||||
google.golang.org/genproto v0.0.0-20180831171423-11092d34479b h1:lohp5blsw53GBXtLyLNaTXPXS9pJ1tiTw61ZHUoE9Qw=
|
||||
|
|
|
|||
Loading…
Reference in a new issue