diskhandles

package
v0.5.2 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2022 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReadFromDiskToBytes

func ReadFromDiskToBytes(location string) ([]byte, error)

ReadFromDiskToBytes takes a string location of a file, and returns the bytes of that file after being read or an error

func WriteToDiskFromUnmarshal

func WriteToDiskFromUnmarshal(data interface{}, location string) (string, error)

WriteToDiskFromUnmarshal takes an interface object that will be Marshaled, and a string to write the marshaled data to. Returning an string "Success" or an error.

Types

This section is empty.

Jump to

Keyboard shortcuts

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