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

add countryCode #126

Closed mirobertod closed 1 year ago

mirobertod commented 1 year ago

Description

Add country code

Are you trying to fix an existing issue?

No

Go Version

$ go version
go version go1.19.4 darwin/arm64

Go Tests

$ go test
2022/12/22 16:06:48 Error while requesting https://loremflickr.com/300/200 : request failed
2022/12/22 16:06:48 Error while creating a temp file: temp file creation failed
2022/12/22 16:06:49 Error while requesting https://thispersondoesnotexist.com/image : request failed
2022/12/22 16:06:49 Error while creating a temp file: temp file creation failed
PASS
ok      github.com/jaswdr/faker 2.145s
jaswdr commented 1 year ago

LGTM, congrats on your first contribution @mirobertod 🎉.

jaswdr commented 1 year ago

The error in the DeepSource workflow could be ignored, I'll send another CR fixing that.