Skip to content

Using package with embedded references in go 1.16? #100

@b5

Description

@b5

A question asked in our discord

I have a question, not sure if this is the place to ask. But how do you do references using the embed directive recently introduced in Go 16?
Example, I have a JSON schema that references another definition in another file, how do we do that with the package?

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