help

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2024 License: ISC Imports: 2 Imported by: 0

Documentation

Overview

Package help exports a function with default help for the core Goal language.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HelpFunc

func HelpFunc() func(string) string

HelpFunc returns a mapping from topics to help content for use in cmd.Config. It can be wrapped by extensions to provide additional entries or return alternative content for existing ones.

It includes entries for the core language and the default os package extension.

func Wrap

func Wrap(fs ...func(string) string) func(string) string

Wrap produces a help function suitable for use in cmd.Config by combining one or more help functions. For a given topic, the new combined help function tries each help function in order and returns the first non-empty result.

Types

This section is empty.

Jump to

Keyboard shortcuts

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