converter

package
v0.0.0-...-883d24b Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2023 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ArrayNotInArray

func ArrayNotInArray(original []string, search []string) []string

func DeleteUserDisplay

func DeleteUserDisplay(userID string) string

func IntToString

func IntToString(data int64) string

func InterfaceToString

func InterfaceToString(data interface{}) string

InterfaceToString converts data to string It will be used in template render

func Markdown2BasicHTML

func Markdown2BasicHTML(source string) string

Markdown2BasicHTML convert markdown to html ,Only basic syntax can be used

func Markdown2HTML

func Markdown2HTML(source string) string

Markdown2HTML convert markdown to html

func StringToInt

func StringToInt(str string) int

func StringToInt64

func StringToInt64(str string) int64

Types

type DangerousHTMLFilterExtension

type DangerousHTMLFilterExtension struct {
}

func (*DangerousHTMLFilterExtension) Extend

type DangerousHTMLRenderer

type DangerousHTMLRenderer struct {
	goldmarkHTML.Config
	Filter *bluemonday.Policy
}

func (*DangerousHTMLRenderer) RegisterFuncs

RegisterFuncs implements renderer.NodeRenderer.RegisterFuncs.

Jump to

Keyboard shortcuts

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