static

package
v1.3.2 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Overview

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.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bundle

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

func Register(data string)

Register will set the zip data that can be decompressed

func Unbundle

func Unbundle(ctx *cmdutil.Ctx) error

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

Types

This section is empty.

Directories

Path Synopsis
_testdata

Jump to

Keyboard shortcuts

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