faker icon indicating copy to clipboard operation
faker copied to clipboard

Go (Golang) Fake Data Generator for Struct. [Notes]This repository is archived, moved to the new repository https://github.com/go-faker/faker

Results 34 faker issues
Sort by recently updated
recently updated
newest added

I don't understand if languages (localization, l18n) is supported. E.g.: can I generate fake french first names?

```go PostalCode *uint64 `protobuf:"varint,3,opt,name=postalCode,proto3,oneof" json:"postalCode,omitempty" binding:"omitempty,min=1000,max=99999" faker:"boundary_start=1000, boundary_end=99999"` ``` https://github.com/bxcodec/faker/blob/master/example_with_tags_lenbounds_test.go

Hey, thanks for the package btw! ❤️ Is there any way to use Oneof for alias types? ```golang type UserRole int32 ``` Thanks!

I believe this to be a typo, private fields can't "be skipped" because they can't be used anyway, so that option would be useful public fields only.

I am trying to fill up the structure that has infinite loop inside. That would be awesome to set a limiter that stops after a few loops

I have a struct with `*int` and I'm trying to use `faker:"oneof: 1, 2"` but I always get **unsupported Tag: oneof: 1, 2** when trying to generate the fakes data.

Currently the default is to make a slice a random size between 0 and 100 (the upper limit is settable). Are you open for an option to change to lower...

I have a struct with an int pointer field (* int). Is it possible for me to define a tag saying that this pointer can be null? In many situations...

Is it possible to set a start date and an end date? This already exists for those for the numbers. Int Uint ... boundary_start boundary_end