helpers

package
v0.5.2-0...-d95c312 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Diff

func Diff(a, b interface{}) string

Diff return a diff of two objects. If no diff, an empty string is returned.

func IncrementIPv4

func IncrementIPv4(ip net.IP, inc int) net.IP

IncrementIPv4 will increment the IP address from the given number. Increment can be positive or negative.

func MustParseMAC

func MustParseMAC(s string) net.HardwareAddr

MustParseMAC parse a MAC address and panic on errors.

Types

This section is empty.

Jump to

Keyboard shortcuts

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