themekit: Index | Files | Directories

package static

import ""

Package static allows for the bundling of static assets into a binary. This allows themekit to bundle files from a theme for generating a new theme.


Package Files

bundle.go unbundle.go

func Bundle Uses

func Bundle(src, dst string) error

Bundle takes a directory path and will compress all the data into a single go file with zip data at the dst path.

func Register Uses

func Register(data string)

Register will set the zip data that can be decompressed

func Unbundle Uses

func Unbundle(ctx *cmdutil.Ctx) error

Unbundle will saftely put all files in place without overwriting files that already exist



Package static imports 12 packages (graph) and is imported by 3 packages. Updated 2018-10-17. Refresh now. Tools for package owners.