databox

package
v1.50.0 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Add

func Add(file string, content []byte)

Add a file to the global box

func Get

func Get(file string) ([]byte, bool)

Get a file from the global box

func ListAll added in v1.7.0

func ListAll() []string

List all files inside the global box

func ListFilesFromDir added in v1.7.0

func ListFilesFromDir(prefix string) []string

List of files from a directory inside the global box

Example: ```go databox.ListFilesFromDir("/scaffoldings/golang") ```

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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