command
module
Version:
v0.0.0-...-85e56ec
Opens a new window with list of versions in this module.
Published: Aug 21, 2019
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
picopacker
Trivially small packer for Golang.
Reads a file into a Go string variable, effectively packing it into an executable/library at compile-time.
using
go get git.saucisseroyale.cc/delthas/picopacker
picopacker file.html file.go file
- this will create a file named
file.go
in the current directory, containing a single string field named file
containing the contents of file.html
you can also add go:generate commands for picopacker, e.g.:
//go:generate picopacker file.html file.go file
package stuff
// use file
license
MIT
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.