more admin dashboard polish, some code cleanup
This commit is contained in:
parent
65f277b3f2
commit
c547fca0d7
27 changed files with 187 additions and 270 deletions
|
|
@ -24,8 +24,3 @@ func (track Track) GetDescriptionHTML() template.HTML {
|
|||
func (track Track) GetLyricsHTML() template.HTML {
|
||||
return template.HTML(strings.ReplaceAll(track.Lyrics, "\n", "<br>"))
|
||||
}
|
||||
|
||||
// this function is stupid and i hate that i need it
|
||||
func (track Track) Add(a int, b int) int {
|
||||
return a + b
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue