From 5e0f48803fcd879149f066031b36f98e68a9b538 Mon Sep 17 00:00:00 2001 From: MichaelOultram Date: Mon, 27 Jul 2015 22:17:42 +0100 Subject: [PATCH] Fixing build issues --- service_youtube.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/service_youtube.go b/service_youtube.go index 23a9b68..67bc4e0 100644 --- a/service_youtube.go +++ b/service_youtube.go @@ -32,12 +32,12 @@ type YouTubeService struct { } // Name of the service -func (yt *YoutubeService) ServiceName() string { +func (yt YoutubeService) ServiceName() string { return "Youtube" } // Checks to see if service will accept URL -func (yt *YoutubeService) URLRegex(url) bool { +func (yt YoutubeService) URLRegex(url) bool { youtubePatterns := []string{ `https?:\/\/www\.youtube\.com\/watch\?v=([\w-]+)(\&t=\d*m?\d*s?)?`, `https?:\/\/youtube\.com\/watch\?v=([\w-]+)(\&t=\d*m?\d*s?)?`, @@ -61,7 +61,7 @@ func (yt *YoutubeService) URLRegex(url) bool { } // Creates the requested song/playlist and adds to the queue -func (yt *YoutubeService) NewRequest(user, url) { +func (yt YoutubeService) NewRequest(user, url) { }