let's validate ETH address
Simple address validator for ETH
Checks format and checksum of address
go get -u github.com/KOREAN139/ethereum-address-validator
import "github.com/KOREAN139/ethereum-address-validator"
package main
import "github.com/KOREAN139/ethereum-address-validator"
func main() {
// ethav.Validate(ETH address) will return error if address is invalid
if err := ethav.Validate("0xdbF03B407c01E7cD3CBea99509d93f8DDDC8C6FB"); err != nil {
// do error handling
}
// do your work
}