Skip to content

Instantly share code, notes, and snippets.

View dtoebe's full-sized avatar

Daniel Toebe dtoebe

View GitHub Profile
@dtoebe
dtoebe / generators.go
Last active May 11, 2020 14:05
EMBED OTHER BINARIES IN GOLANG BINARY - generators.go - 1
// ./generators/generator.go
package main
//Much of this file is from http://stackoverflow.com/questions/17796043/golang-embedding-text-file-into-compiled-executable
import (
"fmt"
"io/ioutil"
@dtoebe
dtoebe / main.go
Created January 3, 2017 11:25
EMBED OTHER BINARIES IN GOLANG BINARY - main.go - 1
// ./sample-data/main.go
package main
import "fmt"
func main() {
fmt.Println("Hello from the binary")
}

Keybase proof

I hereby claim:

  • I am dtoebe on github.
  • I am dtoebe (https://keybase.io/dtoebe) on keybase.
  • I have a public key whose fingerprint is 6104 212E E4AE 792F 061F A5E8 FCCC A6A4 DC5D BC1F

To claim this, I am signing this object: