parser

package
v0.0.0-...-95db706 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 7, 2018 License: BSD-2-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Song

type Song struct {
	Order int    `json:"order"`
	Title string `json:"title"`
}

Song is a struct that contains the song order as an int and a title as a string

func Parse

func Parse(url string) (playlist []Song)

Parse takes a url as a string and returns a slice of struct Playlist

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL