fetch

package
v0.3.5 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package fetch implements utility functions for getting files from diverse sources

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FromURL

func FromURL(source string) ([]byte, error)

FromURL returns the content from a url. Only http(s) and file scheme are supported. For files, the url must follow the schema file:///absolute/path/to/file

Types

This section is empty.

Jump to

Keyboard shortcuts

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