Skip to content
This repository has been archived by the owner on Oct 6, 2024. It is now read-only.

Commit

Permalink
Fixed compilation errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
Nyah Check committed Sep 17, 2017
1 parent 4e2f6d7 commit 8d1e81f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,8 @@ all: clean build fmt lint test vet install

build:
@echo "+ $@"
@sh ./build.sh
@go build -tags "$(BUILDTAGS) cgo" . ## Thinking of downloading the required go deps in here.
#@docker build -t ch3ck/ytd:v1 .
#@docker build -t ch3ck/ytd:v1 . Disable docker build.

static:
@echo "+ $@"
Expand Down
2 changes: 1 addition & 1 deletion api/apiconv.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ func APIConvertVideo(file string, bitrate uint, id string, decVideo []string) er
} else {
out, err := os.Create(file)
if err != nil {
logrus.Errorf("Unable to download video file.", err)
logrus.Errorf("Unable to download video file: %v", err)
return err
}
err = apiDownloadVideo(id, out)
Expand Down
2 changes: 1 addition & 1 deletion api/apidata.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const (
//Youtube Downloader Data file.
type RawVideoData struct {
Title string `json:"title"`
Author string `json:"author`
Author string `json:"author"`
Status string `json:"status"`
URLEncodedFmtStreamMap string `json:"url_encoded_fmt_stream_map"`
}
Expand Down

0 comments on commit 8d1e81f

Please sign in to comment.