Skip to content

internaldocument.NewDocumentMarshaler not declared by package #342

Closed
@jabalsad

Description

@jabalsad

Hi,

I generated Go types from smithy models. One member shape uses the Document type. The generated code doesn't seem to compile:

In file: codegen/document/document.go:

func NewLazyDocument(v interface{}) Interface {
	return internaldocument.NewDocumentMarshaler(v)
}

I get an error: NewDocumentMarshaler not declared by package document

Any ideas?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions