This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"log" | |
"github.com/minio/minio-go" | |
"fmt" | |
) | |
func main() { | |
accessKey := "accessKey" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Create Client | |
client, err := minio.NewV2(Url, AccessKey, SecretKey, true) | |
if err != nil { | |
log.Fatalln(err) | |
} | |
Create Bucket and List buckets | |
err = client.MakeBucket("bucketName", "") | |
if err != nil { | |
log.Fatalln(err) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.paytm.wallet.gratification; | |
import com.google.gson.Gson; | |
import com.google.gson.JsonObject; | |
import com.google.gson.JsonPrimitive; | |
//import com.paytm.merchant.CheckSumServiceHelper; | |
import com.paytm.pg.merchant.CheckSumServiceHelper; | |
import java.io.BufferedReader; | |
import java.io.DataOutputStream; |