Skip to content

is map[string]string more effecient than map[string]interface{} ? #26

Description

@kiseeb

In my application. all my template subsitutions are strings. I want to improve the templating engine more, such that it won't assert the interface or somehow, and directly stream the string as is.

since all my database read values are in strings. I want to use map[string]string insead if it would increase the subsitution effieciency more.

How is this approach possible ?

thank you in advance

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