Documentation
¶
Overview ¶
framework for generating digests from objects according to specific formats
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrEmptyTai = newPkgError("empty tai")
Functions ¶
func FormatForPurposeOrError ¶
func GetFormatForPurpose ¶
func GetFormatForPurpose( purpose string, ) (format format)
func WriteDigest ¶
func WriteDigest( formatId string, context FormatterContext, output mad_domain_interfaces.MarklIdMutable, ) (err error)
Types ¶
type CLIFlag ¶
func (*CLIFlag) SetFlagDefinitions ¶
func (flag *CLIFlag) SetFlagDefinitions(flagSet interfaces.CLIFlagDefinitions)
type FormatterContext ¶
type FormatterContext interface {
objects.EncoderContext
GetObjectId() *ids.ObjectId
}
type UniqueObject ¶
type UniqueObject struct {
DuplicateCount int
Object FormatterContext
}
Click to show internal directories.
Click to hide internal directories.