fsvector

package
v0.0.0-...-0e1f1a5 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2023 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(embed fs.FS) (map[string]*giosvg.IconOp, error)

New returns a list of `*giosvg.IconOp`. It expects the image to be SVG, and the name of the file must be unique, even if the file is storage on distinct folders.

The name of the file doesn't contain the extension.

func NewMust

func NewMust(embed fs.FS) map[string]*giosvg.IconOp

NewMust uses New and panic when error is returned.

Types

This section is empty.

Jump to

Keyboard shortcuts

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