IpFromMac is a golang library to retrieve IPv4 address from a MAC address. The library is based on the arpscan example from the gopacket library.
Directly as a go package:
import "github.com/ubiant/ipfrommac"
With the getIpFromMac command:
go get github.com/ubiant/ipfrommac
go build github.com/ubiant/ipfrommac/cmd/getIpFromMac
./getIpFromMac interface_name mac_address