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
- Host: GitHub
- URL: https://github.com/dim13/file2go
- Owner: dim13
- License: isc
- Archived: true
- Created: 2018-01-10T23:14:35.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2021-02-27T07:19:01.000Z (about 5 years ago)
- Last Synced: 2024-06-20T11:58:58.233Z (over 1 year ago)
- Topics: embedding, file, golang
- Language: Go
- Size: 4.88 KB
- Stars: 40
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.