Documentation ¶ Index ¶ func MakeCpp(w io.Writer, namespace string, sources []*Source) func MakeGolang(w io.Writer, packagename string, sources []*Source) type Source func FromFile(fn string, name string, compress bool) (*Source, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func MakeCpp ¶ func MakeCpp(w io.Writer, namespace string, sources []*Source) func MakeGolang ¶ func MakeGolang(w io.Writer, packagename string, sources []*Source) Types ¶ type Source ¶ type Source struct { Name string Content []byte Compressed bool OriginalSize int } func FromFile ¶ func FromFile(fn string, name string, compress bool) (*Source, error) Source Files ¶ View all Source files binpack.go generate.go Click to show internal directories. Click to hide internal directories.