Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

faker slice of urls don't work #37

Open
ip75 opened this issue Sep 27, 2023 · 0 comments
Open

faker slice of urls don't work #37

ip75 opened this issue Sep 27, 2023 · 0 comments

Comments

@ip75
Copy link

ip75 commented Sep 27, 2023

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 ip75 changed the title faker slice of urls don faker slice of urls don't work Sep 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant