Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/yngfoxx/filetobyteslice


https://github.com/yngfoxx/filetobyteslice

Last synced: about 1 month ago
JSON representation

Awesome Lists containing this project

README

        

# filetobyteslice

A dead simple tool to embed a file to Go.

```
Usage of filetobyteslice:
-buildtags string
build tags
-compress
use gzip compression
-input string
input filename
-output string
output filename
-package string
package name (default "main")
-var string
variable name (default "_")
```

## How to use

```sh
filetobyteslice -input INPUT_FILE -output OUTPUT_FILE -package PACKAGE_NAME -var VARIABLE_NAME
```