utils

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddressRange added in v0.3.0

func AddressRange(network *net.IPNet) (net.IP, net.IP)

AddressRange returns the first and last addresses in the given CIDR range.

func FindFiles

func FindFiles(root string) ([]string, error)

FindFiles returns a slice of all files contained in the root directory including its subdirectories and theirof.

func RandStringRunes added in v0.1.0

func RandStringRunes(n int) string

func Touch added in v0.1.0

func Touch(path string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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