// Amazon API guide: http://docs.aws.amazon.com/sdk-for-go/api/ type Athena struct { C *athena.Athena } // Create New Athena Client with accessKey , secretAccessKey, region info func NewAthenaClient(k string, sk string, r string) (*Athena, error) { creds := credentials.NewStaticCredentials(k, sk, "") _, err := creds.Get() if err != nil { return nil, fmt.Errorf("Init S3 Client Error: %s", err) } cf
{{#tags}}- {{label}}
{{/tags}}