1 रिपॉजिटरी
Tools that convert binary file data into byte arrays within source code for compilation.
Distinct from Go Source-to-Source Transformers: Distinct from Go Source-to-Source Transformers: focuses on data-to-byte-array conversion for embedding rather than DI wiring.
Explore 1 awesome GitHub repository matching programming languages & runtimes · Byte Array Converters. Refine with filters or upvote what's useful.
Statik is a build tool for the Go language that transforms directory structures and files into byte arrays within source code. This process enables the creation of single-binary distributions by embedding static assets directly into the compiled executable. The tool ensures deterministic builds by stripping file modification timestamps, resulting in consistent binary outputs across different environments. It also includes a build-time asset filter to limit the inclusion of specific file extensions and minimize the final executable size. To access these embedded assets, the project provides a
Converts static files into Go source code byte slices to enable embedding within the compiled binary.