svg

package
v0.2.10 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2022 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Build

func Build(fs filesystem.FileLoader) (int, error)

func Content

func Content(fs filesystem.FileLoader, key string) (string, error)

func Contents

func Contents(fs filesystem.FileLoader) ([]string, map[string]string, error)

func List

func List(fs filesystem.FileLoader) ([]string, error)

func Remove

func Remove(fs filesystem.FileLoader, key string) error

func Run

func Run(fs filesystem.FileLoader, src string, tgt string) (int, error)

func SetAppIcon

func SetAppIcon(prj *project.Project, fs filesystem.FileLoader, x *SVG, logger *zap.SugaredLogger) error

Types

type SVG

type SVG struct {
	Key    string
	Markup string
}

func AddToProject

func AddToProject(fs filesystem.FileLoader, src string, tgt string) (*SVG, error)

func Transform

func Transform(tgt string, b []byte, url string) (*SVG, error)

Jump to

Keyboard shortcuts

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