jaswdr / faker

:rocket: Ultimate fake data generator for Go with zero dependencies
https://pkg.go.dev/github.com/jaswdr/faker
MIT License
549 stars 59 forks source link

Issue 70 #153

Closed jaswdr closed 11 months ago

jaswdr commented 11 months ago

Description

  1. Generate valid Bitcoin and Ethereum addresses.
  2. Deprecate P2PKHAddress, P2PKHAddressWithLength, P2SHAddress, P2SHAddressWithLength, Bech32Address, Bech32AddressWithLength methods.

Are you trying to fix an existing issue?

Replace this line with a link to the issue you are trying to fix

Go Version

$ go version
go version go1.21.1 linux/amd64

Go Tests

$ go test
2023/10/09 19:47:42 Error while requesting https://loremflickr.com/300/200 : request failed
2023/10/09 19:47:42 Error while creating a temp file: temp file creation failed
2023/10/09 19:47:42 Error while requesting https://randomuser.me : request failed
2023/10/09 19:47:42 Error while creating a temp file: temp file creation failed
PASS
ok      github.com/jaswdr/faker 2.490s
Emyrk commented 11 months ago

Does this work by only returning 1 of 10 possible addresses?