Skip to content

ugorji/go-embedgo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

embedgo

This repository contains the embedgo command.

To install:

go get github.com/ugorji/go-embedgo/cmd/embedgo

Package Documentation

embedgo will take a set of files which may be directories, zip-based archives (.zip, .jar, etc) or other files. If a zip-based archive, it will treat it as a directory tree.

For any files in there whose (relative) path matches a regex (and doesn't match a regex if defined), it's contents will be written out into a go file as a string, and accessible via a MemFS.

Usage:

    embedgo [-match regex] [-notmatch regex] -n file...
    embedgo [-match regex] [-notmatch regex] [-out output.go] [-prefix xyz] [-pkg pkg] [-tags tags] file...

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages