glossary

package
v0.0.0-...-5fb48e9 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package glossary provides some common terms that might be handy for a Gopher to know.

Index

Constants

View Source
const Prefix = "define "

Prefix is the prefix that's intended to be used by the handler.

Variables

This section is empty.

Functions

This section is empty.

Types

type Terms

type Terms struct {
	// contains filtered or unexported fields
}

Terms represents the glossary.

func New

func New(prefix string) Terms

New generates a new set of glossary terms, from those it returns Terms.

func (Terms) DefineHandler

func (t Terms) DefineHandler(ctx workqueue.Context, m handler.Messenger, r handler.Responder) error

DefineHandler satisfiees handler.MessageActionFn. It handles finding definitions for specific terms.

Jump to

Keyboard shortcuts

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