util

package
v0.0.1-alpha Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ContainsInt

func ContainsInt(s []int, e int) bool

ContainsInt check if an int slice contains a value

func ContainsString

func ContainsString(s []string, e string) bool

ContainsString check if a stirng slice contains a value

func IsValidPort

func IsValidPort(port int) bool

IsValidPort check if a port is valid

func WriteToFile

func WriteToFile(bytesToWrite *[]byte, filePath string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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