Skip to content

Struct bindings #51

@abemedia

Description

@abemedia

Right now bindings are a map so to use a struct I'd need to do something like the following:

bindings := map[string]interface{}{
    "data": myStructVariable,
}

It would be great if it was possible to pass in a struct directly to keep the liquid code accessing the variables cleaner.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions