Skip to content

Nested template vars not being evaluated #4

@goharahmed

Description

@goharahmed

Hi,
Great library, thank you. Its working fine for the most part but when we've a template variable like this

$account.1.server.1.address

then it throws an error

Error: wrong identifier token

I've tried to debug and it basically doesn't like the token "server" possibly since the previous token did not have a $ to it? Can you elaborate how we can have a dynamic data map plugged into the template variable for example the above one:
$account.1.server.1.address could possibly have
var data map[string][]map[string][]map[string]interface{}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions