package main import ( "fmt" "net/http" ) func (playingInfo *PlayingInfo) handler(w http.ResponseWriter, r *http.Request) { fmt.Fprintf( w, "

%s

%s

%s

", playingInfo.artistName, playingInfo.recordingName, playingInfo.releaseName, playingInfo.recordingUrl, playingInfo.coverUrl, ) }