utils

package
v0.0.0-...-f7e23ef Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AppFilePathMake

func AppFilePathMake(elem ...string) string

func FileContents

func FileContents(filename string) []byte

func FileExists

func FileExists(files ...string) bool

func HashFile

func HashFile(filename string) (string, error)

func HashString

func HashString(str string) string

func IWantUseHttpPort

func IWantUseHttpPort(port ...int) int

func IsPortAvailable

func IsPortAvailable(port int) (bool, error)

func NewHostName

func NewHostName(str ...string) string

func ToJsonBytes

func ToJsonBytes(v any) []byte

func ToJsonString

func ToJsonString(v any) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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