Skip to content

Instantly share code, notes, and snippets.

@HopHouse
HopHouse / go-sharp-loader.go
Last active August 5, 2020 22:15 — forked from ropnop/go-sharp-loader.go
Example Go file embedding multiple .NET executables
package main
/*
Example Go program with multiple .NET Binaries embedded
This requires packr (https://github.com/gobuffalo/packr) and the utility. Install with:
$ GOOS=windows go get -u github.com/gobuffalo/packr/packr
Place all your EXEs are in a "binaries" folder