faker icon indicating copy to clipboard operation
faker copied to clipboard

faker slice of urls don't work

Open ip75 opened this issue 1 year ago • 0 comments

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

ip75 avatar Sep 27 '23 08:09 ip75