utils

package
v0.0.0-...-1d0df6f Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReadFile

func ReadFile(file string) (string, error)

ReadFile reads the specified file and returns the contents as a string.

func ReadURL

func ReadURL(url string) (string, error)

ReadURL sends a GET request to the specified URL and returns the response body as a string.

Types

This section is empty.

Jump to

Keyboard shortcuts

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