docstring

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const ErrSymbolNotDocumented = "symbol not documented: %s"

ErrSymbolNotDocumented is raised when a call to doc can't resolve a name

Variables

This section is empty.

Functions

func Get

func Get(n string) (string, error)

Get resolves a registered docstring entry by name

func MustGet

func MustGet(n string) string

MustGet resolves a registered docstring entry by name or explodes

func Names

func Names() []string

Names returns the registered names of available docstring entries

Types

This section is empty.

Jump to

Keyboard shortcuts

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