markbates / pkger

Embed static files in Go binaries (replacement for gobuffalo/packr)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Question: Windows support

chrisvdg opened this issue · comments

Is windows officially supported by pkger?
I have a project where I use pkger and it works fine when built for Linux.
I wanted to try it for windows and built a windows binary but the files that should've been included in the binary do not seem present.

Got it working by installing pkger on windows, running pkger and compiling the code on a windows machine.

Before I compiled it in a docker container with flags GOARCH=amd64 and GOOS=amd64