helpers

package
v0.7.2 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DownloadFile

func DownloadFile(url string) ([]byte, error)

DownloadFile downloads a file from the given URL and returns its content as bytes.

func ReadData

func ReadData(configPath string) ([]byte, error)

ReadData reads data from a file path or a URL. If the path is a valid URL, it downloads the content; otherwise, it reads from disk.

Types

This section is empty.

Jump to

Keyboard shortcuts

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