Fixed typo in godoc
authorRoberto Santalla <roobre@users.noreply.github.com>
Wed, 24 Jul 2019 10:31:51 +0200
changeset 251 1aab69d32d74
parent 250 f2c8ab41725b
child 252 e217b238546e
Fixed typo in godoc Co-Authored-By: Mikael Berthe <mikael@lilotux.net> committer: GitHub <noreply@github.com>
media.go
--- a/media.go	Fri Jul 19 14:28:25 2019 +0200
+++ b/media.go	Wed Jul 24 10:31:51 2019 +0200
@@ -38,7 +38,7 @@
 	return mc.UploadMediaReader(f, filepath.Base(f.Name()), description, focus)
 }
 
-// UploadMedia uploads data from the given reader and returns an attachment
+// UploadMediaReader uploads data from the given reader and returns an attachment
 // name, description and focus arguments can be empty strings.
 // 'focus' is the "focal point", written as two comma-delimited floating points.
 func (mc *Client) UploadMediaReader(f io.Reader, name, description, focus string) (*Attachment, error) {