gocat

package module
v0.0.0-...-2d50a59 Latest Latest
Warning

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

Go to latest
Published: May 24, 2017 License: BSD-3-Clause Imports: 13 Imported by: 0

README

gocat

gocat concatenates Go source files within a package

usage

gocat auth*.go > auth.go

license

See LICENSE file.

Copyright (c) 2014 The Go Authors. All rights reserved.

Originally authored by Russ Cox as bundle

Modified by Joseph Naegele, 2015.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Cat

func Cat(out io.Writer, pkgname, prefix string, args []string, noComments, noTest, kill bool) (err error)

Cat will cat go files - pkgname is the package name to use in the output file - prefix is the prefix to add to all top-level names - noComments will ignore comments - noTest will ignore test files - kill will delete concatenated files from disk

Types

This section is empty.

Directories

Path Synopsis
cmd
gocat
Gocat combines multiple Go source files into a single source file, optionally adding a prefix to all top-level names.
Gocat combines multiple Go source files into a single source file, optionally adding a prefix to all top-level names.

Jump to

Keyboard shortcuts

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