internal

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	GH_V0      = "0"
	GH_2023_10 = "2023-10"
	GH_2024_03 = "2024-03"
)

Versions of GH layouts

View Source
const (
	// Version is a current app version
	Version = "1.4.0"
)

Variables

This section is empty.

Functions

func EscapeSpecChars

func EscapeSpecChars(s string) string

EscapeSpecChars Escapes special characters

func GenerateListIndentation

func GenerateListIndentation(spaces int) func() string

Generate func of custom spaces indentation.

func HttpGet

func HttpGet(urlPath string) ([]byte, string, error)

HttpGet executes HTTP GET request.

func HttpGetJson

func HttpGetJson(urlPath string) ([]byte, string, error)

func HttpPost

func HttpPost(urlPath, filePath, token string) (string, error)

HttpPost executes HTTP POST with file content.

func RemoveStuff

func RemoveStuff(s string) string

RemoveStuff trims spaces, removes new lines and code tag from a string.

func ShowFooter

func ShowFooter(w io.Writer)

ShowFooter shows footer after TOC.

func ShowHeader

func ShowHeader(w io.Writer)

ShowHeader shows header befor TOC.

Types

This section is empty.

Jump to

Keyboard shortcuts

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