asset

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2023 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Overview

Package asset contains asset files (logos, icons, etc), as well as go-bindata generated files for the asset files.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Icon added in v0.6.0

func Icon() (image.Image, error)

Icon returns the image.Image to be used as vidar's icon.

func MustOpen added in v0.6.0

func MustOpen(path string) fs.File

MustOpen loads an asset for the given path, panicking if the asset fails to load.

func Open added in v0.6.0

func Open(path string) (fs.File, error)

Open loads an asset for the given path.

Types

This section is empty.

Jump to

Keyboard shortcuts

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