files

package
v1.5.4 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package files provides abstractions for working with files.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReadFromLocalOrRemote

func ReadFromLocalOrRemote(pathOrURL string, headers map[string]string) (io.ReadCloser, error)

ReadFromLocalOrRemote reads the contents of a file from the local filesystem or from a remote URL.

Types

This section is empty.

Jump to

Keyboard shortcuts

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