internal

package
v0.0.0-...-6a448a3 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2022 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AllFilesInDirectory

func AllFilesInDirectory(directory string) ([]string, error)

AllFilesInDirectory return all file in directory recursive

func CreateZipArchive

func CreateZipArchive(files map[string][]byte) (*bytes.Buffer, error)

CreateZipArchive create a zip archive file from files

func GenerateZip

func GenerateZip(parsedFiles map[string][]byte, dest string) error

func ParseSkeleton

func ParseSkeleton(skeletonPath string, data Data) (map[string][]byte, error)

Types

type Data

type Data map[string]interface{}

func NewData

func NewData(source []byte) (Data, error)

NewData create data object from json

func (Data) Parse

func (d Data) Parse(content string) (string, error)

Jump to

Keyboard shortcuts

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