utils

package
v0.0.0-...-2cccd0f Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const TitleFromPostLabel = "**`TFP`**"

Variables

This section is empty.

Functions

func GetLegendText

func GetLegendText() string
func GetPostIDFromLink(s string) string

GetPostIDFromLink extracts a PostID from a link

func GetSiteURL

func GetSiteURL(api pluginapi.API) string

getSiteURL returns the SiteURL from the config settings

func NewID

func NewID() string

NewID is a globally unique identifier. It is a [A-Z0-9] string 26 characters long. It is a UUID version 4 Guid that is zbased32 encoded with the padding stripped off.

Types

type API

type API struct {
	plugin.API
}

Jump to

Keyboard shortcuts

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