unbundle

module
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2019 License: GPL-3.0

README

Unbundle

A tool for unbundling packages or bundled source files.

Contains some packages from internal of tools

Note : previously unbundled files get deleted on re-run.

Usage: unbundle [options] <package_or_file>

Where the options are :

-dst path set destination unbundled path (e.g. D:\inspect\rebundle) - default unbundled

-newpkg name set destination package name and folder inside the destination path (e.g. http)

-privfunc string private functions file (no extension) (default "private_fns")

-pubfunc string public functions file (no extension) (default "public_fns")

-types string types definition file (no extension) (default "defs")

Examples

For unbundling a single file:

unbundle --newpkg="http" --dst="unbundled" --privfunc="_private" --pubfunc="_public" --types="_types" /usr/local/go/src/net/http/server.go

For unbundling a package:

unbundle --types="_types" --newpkg="http" --dst="unbundled" --privfunc="_prv" --pubfunc="_pub" "net/http"

Why?

Splitting the atoms.

Directories

Path Synopsis
cmd
Package fastwalk provides a faster version of filepath.Walk for file system scanning tools.
Package fastwalk provides a faster version of filepath.Walk for file system scanning tools.
Package gopathwalk is like filepath.Walk but specialized for finding Go packages, particularly in $GOPATH and $GOROOT.
Package gopathwalk is like filepath.Walk but specialized for finding Go packages, particularly in $GOPATH and $GOROOT.
Package imports implements a Go pretty-printer (like package "go/format") that also adds or removes import statements as necessary.
Package imports implements a Go pretty-printer (like package "go/format") that also adds or removes import statements as necessary.
Package module defines the module.Version type along with support code.
Package module defines the module.Version type along with support code.

Jump to

Keyboard shortcuts

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