Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var GlobalRegistry atomic.Pointer[Registry]
Functions ¶
Types ¶
type PrettyPrinter ¶
type Registry ¶
type Registry struct {
// contains filtered or unexported fields
}
func (*Registry) Add ¶
func (reg *Registry) Add(typeURL string, pp PrettyPrinter)
func (*Registry) Find ¶
func (reg *Registry) Find(typeURL string) PrettyPrinter
func (*Registry) PrettyPrintTo ¶
Click to show internal directories.
Click to hide internal directories.