utils

package
v0.1.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReadFile

func ReadFile(path string) ([]byte, error)

ReadFile is a utility function for reading files

func ReturnRandom

func ReturnRandom(value int) string

ReturnRandom returns a ranomized string with the length based on input

func TrimFileSuffix

func TrimFileSuffix(path string) string

TrimFileSuffix trims the suffix on the file

Types

This section is empty.

Jump to

Keyboard shortcuts

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