Fixing build issues

This commit is contained in:
MichaelOultram 2015-07-27 22:17:42 +01:00
parent 7b737b03ab
commit 5e0f48803f

View file

@ -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) {
}