diags

package
v0.11.1 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AndList

type AndList []string

A list that displays in the human readable format: "a, b and c".

func (AndList) String

func (h AndList) String() string

type NonExistentFieldFormatter added in v0.5.7

type NonExistentFieldFormatter struct {
	ParentLabel         string
	Fields              []string
	MaxElements         int
	FieldsAreProperties bool
}

A formatter for when a field or property is used that does not exist.

func (NonExistentFieldFormatter) Message added in v0.5.7

func (e NonExistentFieldFormatter) Message(field, fieldLabel string) string

Get a single line message.

func (NonExistentFieldFormatter) MessageWithDetail added in v0.5.7

func (e NonExistentFieldFormatter) MessageWithDetail(field, fieldLabel string) (string, string)

A message broken up into a top level and detail line

type OrList

type OrList []string

A list that displays in the human readable format: "a, b or c".

func (OrList) String

func (h OrList) String() string

Jump to

Keyboard shortcuts

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