boilerplate

package
v0.28.0 Latest Latest
Warning

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

Go to latest
Published: May 31, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Boilerplate

type Boilerplate interface {
	// Networked indicates PrintBoilerplate is a networked directive.
	directive.Networked

	// BoilerplateMessage returns the message to print with the boilerplate.
	BoilerplateMessage() string
}

Boilerplate prints a boilerplate with a message, as a example.

type BoilerplateResult

type BoilerplateResult interface {
	// Value indicates this is a directive value
	directive.Value
	// GetPrintedLen returns the number of characters printed.
	// If zero then the message was not printed.
	GetPrintedLen() uint32
}

BoilerplateResult is the result type for Boilerplate.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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