utils

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

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

Go to latest
Published: Apr 9, 2023 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AbortWithDatasourceError

func AbortWithDatasourceError(c *gin.Context, err error)

func EmbedFolder

func EmbedFolder(fsEmbed embed.FS, targetPath string) static.ServeFileSystem

func HandleFatalError

func HandleFatalError(stage string, err error)

Types

type EmbedFileSystem

type EmbedFileSystem struct {
	http.FileSystem
	// contains filtered or unexported fields
}

func (EmbedFileSystem) Exists

func (e EmbedFileSystem) Exists(prefix string, path string) bool

Jump to

Keyboard shortcuts

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