Help us shape the future of Go! Take the 2026 Go Developer Survey

write

package
v0.1.58 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2026 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const WriterDatlyResourceNamespace = "reportingevidence_document_write_writer"

DatlyResourceNamespace identifies this package's generated resource filesystem.

Variables

View Source
var LifecycleDatly = LifecycleDatlyType()
View Source
var WriterDatly = new(WriterComponent)

The public value supports explicit component wiring.

View Source
var WriterDatlyResources embed.FS

Functions

func LifecycleDatlyType

func LifecycleDatlyType() reflect.Type

func WriterDatlyType

func WriterDatlyType() reflect.Type

WriterDatlyType returns the public component type.

Types

type Document

type Document struct {
	Id          *string      `sqlx:"id,primaryKey=true,required=true" json:"id,omitempty"`
	InlineBody  []byte       `sqlx:"inline_body" json:"inlineBody,omitempty"`
	RunId       *string      `sqlx:"run_id,refTable=run,refColumn=id" json:"runId,omitempty"`
	Kind        *string      `sqlx:"kind,required=true" json:"kind,omitempty"`
	Subtype     *string      `sqlx:"subtype" json:"subtype,omitempty"`
	SchemaRef   *string      `sqlx:"schema_ref" json:"schemaRef,omitempty"`
	MimeType    *string      `sqlx:"mime_type,required=true" json:"mimeType,omitempty"`
	Storage     *string      `sqlx:"storage,required=true" json:"storage,omitempty"`
	Compression *string      `sqlx:"compression,required=true" json:"compression,omitempty"`
	Digest      *string      `sqlx:"digest" json:"digest,omitempty"`
	SizeBytes   *int         `sqlx:"size_bytes,required=true" json:"sizeBytes,omitempty"`
	Has         *DocumentHas `setMarker:"true" format:"-" sqlx:"-" diff:"-" json:"-" typeName:"DocumentHas"`
}

Document is generated canonical view metadata for writer.

func (*Document) GetCompression

func (entity *Document) GetCompression() *string

func (*Document) GetDigest

func (entity *Document) GetDigest() *string

func (*Document) GetId

func (entity *Document) GetId() *string

func (*Document) GetInlineBody

func (entity *Document) GetInlineBody() []byte

func (*Document) GetKind

func (entity *Document) GetKind() *string

func (*Document) GetMimeType

func (entity *Document) GetMimeType() *string

func (*Document) GetRunId

func (entity *Document) GetRunId() *string

func (*Document) GetSchemaRef

func (entity *Document) GetSchemaRef() *string

func (*Document) GetSizeBytes

func (entity *Document) GetSizeBytes() *int

func (*Document) GetStorage

func (entity *Document) GetStorage() *string

func (*Document) GetSubtype

func (entity *Document) GetSubtype() *string

func (*Document) SetCompression

func (entity *Document) SetCompression(value *string)

func (*Document) SetDigest

func (entity *Document) SetDigest(value *string)

func (*Document) SetId

func (entity *Document) SetId(value *string)

func (*Document) SetInlineBody

func (entity *Document) SetInlineBody(value []byte)

func (*Document) SetKind

func (entity *Document) SetKind(value *string)

func (*Document) SetMimeType

func (entity *Document) SetMimeType(value *string)

func (*Document) SetRunId

func (entity *Document) SetRunId(value *string)

func (*Document) SetSchemaRef

func (entity *Document) SetSchemaRef(value *string)

func (*Document) SetSizeBytes

func (entity *Document) SetSizeBytes(value *int)

func (*Document) SetStorage

func (entity *Document) SetStorage(value *string)

func (*Document) SetSubtype

func (entity *Document) SetSubtype(value *string)

type DocumentHas

type DocumentHas struct {
	Id          bool
	InlineBody  bool
	RunId       bool
	Kind        bool
	Subtype     bool
	SchemaRef   bool
	MimeType    bool
	Storage     bool
	Compression bool
	Digest      bool
	SizeBytes   bool
}

type Input

type Input struct {
	Rows []*Document `` /* 189-byte string literal not displayed */
	Has  *InputHas   `setMarker:"true" typeName:"InputHas" json:"-" sqlx:"-"`
}

Input is the generated input scaffold for writer.

func (*Input) SetRows

func (input *Input) SetRows(value []*Document)

type InputHas

type InputHas struct {
	Rows bool
}

type Output

type Output struct {
	Data []*Document `parameter:"Data,kind=output,in=body,dataType=[]*Document" json:"data"`
}

Output is the generated output scaffold for writer.

type WriterComponent

type WriterComponent struct {
	Contract xdatly.Component[Input, Output] "" /* 187-byte string literal not displayed */
}

Component is the generated component scaffold for writer.

func (WriterComponent) EmbedFS

func (WriterComponent) EmbedFS() *embed.FS

func (WriterComponent) EmbedNamespace

func (WriterComponent) EmbedNamespace() string

Jump to

Keyboard shortcuts

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