Skip to content

a tool converting all files to byte buffer and storing in go file

License

Notifications You must be signed in to change notification settings

snowmerak/databox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

databox

databox is a tool converting file or directory to byte buffer and storing in go file.

install

go install github.com/snowmerak/databox@latest

how to use

databox <target-directory-or-file> <package-name> <variable-name>

  1. read all target-directory-or-file and that's sub directorys and files to buffer
  2. create ./package-name/variable-name.go
  3. write buffer to ./package-name/variable-name.go

About

a tool converting all files to byte buffer and storing in go file

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages