package globals

import "github.com/bouncepaw/mycomarkup/globals"

Package globals provides global variables.

Index

Variables

var CalledInShell bool

CalledInShell is true when mycomarkup is invoked as a program.

var HyphaAccess func(string) (rawText, binaryHtml string, err error)

HyphaAccess holds function that accesses a hypha by its name. By default, it is set to a function that always returns an error.

var HyphaExists func(string) bool

HyphaExists holds function that checks if the hypha is present. By default, it is set to a function that is always true.

var HyphaIterate func(func(string))

HyphaIterate is a function that iterates all hypha names existing. By default, it is set to a function that does nothing.

Source Files

globals.go

Version
v1.0.4 (latest)
Published
Sep 10, 2021
Platform
linux/amd64
Imports
1 packages
Last checked
3 days ago

Tools for package owners.