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

https://github.com/dim13/file2go

Dead-simple file embedding tool for Go
https://github.com/dim13/file2go

embedding file golang

Last synced: about 1 month ago
JSON representation

Dead-simple file embedding tool for Go

Awesome Lists containing this project

README

          

# file2go

Dead-simple file embedding tool for Go similar to
[file2c](https://man.openbsd.org/OpenBSD-5.5/man1/file2c.1).

Deprecated by [embed](https://golang.org/pkg/embed/) package.

## Install

go get github.com/dim13/file2go

## Usage

//go:generate file2go -in

See [testdata](testdata) for example.