bale

package
v1.0.25 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2022 License: LGPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Header ...
	Header = `` /* 127-byte string literal not displayed */

	// Footer ...
	Footer = `` /* 148-byte string literal not displayed */

)
View Source
const (
	// BaleHeader ...
	BaleHeader = `` /* 848-byte string literal not displayed */

)

Variables

View Source
var CmdBale = &commands.Command{
	UsageLine: "bale",
	Short:     "Transforms non-Go files to Go source files",
	Long: `Bale command compress all the static files in to a single binary file.

  This is useful to not have to carry static files including js, css, images and
  views when deploying a Web application.

  It will auto-generate an unpack function to the main package then run it during the runtime.
  This is mainly used for zealots who are requiring 100% Go code.
`,
	PreRun: func(cmd *commands.Command, args []string) { version.ShowShortVersionBanner() },
	Run:    runBale,
}

Functions

This section is empty.

Types

type ByteWriter

type ByteWriter struct {
	io.Writer
	// contains filtered or unexported fields
}

ByteWriter ...

func (*ByteWriter) Write

func (w *ByteWriter) Write(p []byte) (n int, err error)

Jump to

Keyboard shortcuts

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