faker
faker copied to clipboard
faker slice of urls don't work
type Entity struct {
ID uuid.UUID //`faker:"uuid"` // NOT IMPLEMENTED, WHY!?
Uris []string `faker:"slice_len=3, url"` // makes all structure empty. I just need slice with 3 urls
Map map[string]bool //`faker:"oneof: password, code"` // how to make keys in map with predefined values ?
}
It's a pity but I have to chose another library to generate test objects because i'm not able to make my test structures