tools

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package tools implements some Functions which are needed to run this Application

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ByteSlice2String added in v1.2.0

func ByteSlice2String(bs []byte) string

ByteSlice2String converts a byte slice to a string in a performant way.

func CheckDirExist

func CheckDirExist(_path string) bool

CheckDirExist checks if a directory exists or not and returns 'true' or 'false'.

func RandomString

func RandomString(length int) string

func YAMLMarshal

func YAMLMarshal(in entry.Entry) ([]byte, error)

func YAMLUnmarshal

func YAMLUnmarshal(in []byte, out *entry.Entry) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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