// Code generated by "inline -o templates.go -p cdr mixtape.tmpl templates/parts.tmpl" -- DO NOT EDIT -- package cdr import ( "fmt" "io/ioutil" ) func ReadAsset(file string, useLocal bool) ([]byte, error) { if useLocal { return ioutil.ReadFile(file) } if f, ok := files[file]; ok { return []byte(f), nil } return nil, fmt.Errorf("file doesn't exist.") } var files = map[string]string{ "mixtape.tmpl": `{{define "mixtape"}}
[Here I might introduce this mix.]
[Some notes about track 1.]
{{else if eq .Num 2}}[Some notes about track 2.]
{{else if eq .Num 5}}[Some notes about track 5.]
{{end}} {{end}}`, "templates/parts.tmpl": `{{define "player"}} {{with $x := index . 0}} {{end}} {{end}} {{define "playlist"}}