go-embedgo

module
v0.0.0-...-b4385f2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 3, 2021 License: MIT

README

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...

Directories

Path Synopsis
cmd
embedgo command
embedgo will take a set of files which may be directories, zip-based archives (.zip, .jar, etc) or other files.
embedgo will take a set of files which may be directories, zip-based archives (.zip, .jar, etc) or other files.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL