Skip to content

Compile templates into server executable #9

@josegonzalez

Description

@josegonzalez

Not sure if this is possible, but I'm trying to compile the templates/static files into the binary so that when I run the executable elsewhere, I don't also have to figure out how to ship assets - that is to say, it's all included within the compiled go binary.

I've done this before with static assets utilizing go-bindata, but not sure if there is a way to do it for goview.

In my case, I'm specifically utilizing goview with gin (via ginview) but hopefully that doesn't impact the answer.

Great work btw, this package looks awesome!

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