dnote/pkg/server/handlers/paths.go

9 lines
137 B
Go

package handlers
import (
"fmt"
)
func (a *App) getNoteURL(uuid string) string {
return fmt.Sprintf("%s/notes/%s", a.WebURL, uuid)
}