fix: minor doc changes
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
// LICENSE MIT
|
// LICENSE BSD-2-Clause-FreeBSD
|
||||||
// Copyright (c) 2018, Rohan Verma <hello@rohanverma.net>
|
// Copyright (c) 2018, Rohan Verma <hello@rohanverma.net>
|
||||||
// Copyright (c) 2017, L Campbell
|
// Copyright (c) 2017, L Campbell
|
||||||
// forked from: https://github.com/lye/s3/
|
// forked from: https://github.com/lye/s3/
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
// LICENSE MIT
|
// LICENSE BSD-2-Clause-FreeBSD
|
||||||
// Copyright (c) 2018, Rohan Verma <hello@rohanverma.net>
|
// Copyright (c) 2018, Rohan Verma <hello@rohanverma.net>
|
||||||
// Copyright (C) 2012 Blake Mizerany
|
// Copyright (C) 2012 Blake Mizerany
|
||||||
// contains code from: github.com/bmizerany/aws4
|
// contains code from: github.com/bmizerany/aws4
|
||||||
|
|||||||
+7
-7
@@ -1,4 +1,4 @@
|
|||||||
// LICENSE MIT
|
// LICENSE BSD-2-Clause-FreeBSD
|
||||||
// Copyright (c) 2018, Rohan Verma <hello@rohanverma.net>
|
// Copyright (c) 2018, Rohan Verma <hello@rohanverma.net>
|
||||||
|
|
||||||
package simples3
|
package simples3
|
||||||
@@ -62,12 +62,12 @@ type UploadInput struct {
|
|||||||
// UploadResponse receives the following XML
|
// UploadResponse receives the following XML
|
||||||
// in case of success, since we set a 201 response from S3.
|
// in case of success, since we set a 201 response from S3.
|
||||||
// Sample response:
|
// Sample response:
|
||||||
// <PostResponse>
|
// <PostResponse>
|
||||||
// <Location>https://s3.amazonaws.com/link-to-the-file</Location>
|
// <Location>https://s3.amazonaws.com/link-to-the-file</Location>
|
||||||
// <Bucket>s3-bucket</Bucket>
|
// <Bucket>s3-bucket</Bucket>
|
||||||
// <Key>development/8614bd40-691b-4668-9241-3b342c6cf429/image.jpg</Key>
|
// <Key>development/8614bd40-691b-4668-9241-3b342c6cf429/image.jpg</Key>
|
||||||
// <ETag>"32-bit-tag"</ETag>
|
// <ETag>"32-bit-tag"</ETag>
|
||||||
// </PostResponse>
|
// </PostResponse>
|
||||||
type UploadResponse struct {
|
type UploadResponse struct {
|
||||||
Location string `xml:"Location"`
|
Location string `xml:"Location"`
|
||||||
Bucket string `xml:"Bucket"`
|
Bucket string `xml:"Bucket"`
|
||||||
|
|||||||
Reference in New Issue
Block a user