assets

package
v0.0.0-...-d7cf67a Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Asset

func Asset(base, path string) ([]byte, string, string, error)

Asset Gets the file from system if debug otherwise gets it from the stored data returns the data, the md5 hash of its content and its content type and and error if it is not found In production the base parameter is ignored use it for developement as the relativepath/to/your/public/folder ex: ui/myproject/src/public

Types

This section is empty.

Jump to

Keyboard shortcuts

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