Help us shape the future of Go! Take the 2026 Go Developer Survey

fetch

package
v0.44.3 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Untrusted

func Untrusted(ctx context.Context, url string) ([]byte, error)

Fetches a URL and returns the body as a byte slice. The body is limited to 5MB to prevent abuse. The timeout is 30 seconds.

Types

This section is empty.

Jump to

Keyboard shortcuts

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