normalizers

package
v0.3.3-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const Indentation = `  `

Variables

This section is empty.

Functions

func Examples

func Examples(s string) string

Examples normalizes a command's examples following a convention

func LongDesc

func LongDesc(s string) string

LongDesc normalizes a command's long description following a convention

func NormalizeMemberIDs added in v0.3.0

func NormalizeMemberIDs(ids []string) []string

NormalizeMemberIDs returns a sorted list of unique member IDs with empty values removed.

func SpecToJSON added in v0.1.4

func SpecToJSON(spec interface{}) (string, error)

SpecToJSON converts a spec (YAML/JSON string or object) to normalized JSON string

Types

This section is empty.

Jump to

Keyboard shortcuts

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