You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 8, 2022. It is now read-only.
Hi.
I want to create data of linked relationships between internal variables.
this case
`
type Data struct {
Country string
City string
}
var data = map[string]string{
"$awsome country1": []string{"city list in awsome country1"},
"$awsome country2": []string{"city list in awsome country2"},
"$awsome country3": []string{"city list in awsome country3"},
}
`
When generating faker data
Is it possible to set a random value to the associated City value by checking the Contry value?
If you have any related tags, please let me know.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi.
I want to create data of linked relationships between internal variables.
this case
`
type Data struct {
Country string
City string
}
var data = map[string]string{
"$awsome country1": []string{"city list in awsome country1"},
"$awsome country2": []string{"city list in awsome country2"},
"$awsome country3": []string{"city list in awsome country3"},
}
`
When generating faker data
Is it possible to set a random value to the associated City value by checking the Contry value?
If you have any related tags, please let me know.
The text was updated successfully, but these errors were encountered: