Skip to content

Commit

Permalink
Prepare 2.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
silentsokolov committed Apr 17, 2018
1 parent 79ee5fd commit bf3d193
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
7 changes: 7 additions & 0 deletions vimeo/upload.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
package vimeo

import "os"

type Uploader interface {
UploadFromFile(c *Client, uploadURL string, f *os.File) error
}
7 changes: 1 addition & 6 deletions vimeo/vimeo.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,13 @@ import (
"io/ioutil"
"net/http"
"net/url"
"os"
"strconv"
"strings"
"time"
)

const (
libraryVersion = "2.0.0"
libraryVersion = "2.1.0"
defaultBaseURL = "https://api.vimeo.com/"
defaultUserAgent = "go-vimeo/" + libraryVersion

Expand All @@ -26,10 +25,6 @@ const (
headerRateReset = "X-RateLimit-Reset"
)

type Uploader interface {
UploadFromFile(c *Client, uploadURL string, f *os.File) error
}

// Client manages communication with Vimeo API.
type Client struct {
client *http.Client
Expand Down

0 comments on commit bf3d193

Please sign in to comment.