niki/vendor/github.com/brianvoe/gofakeit/v6/data
mehdi 9fc2b59014 fix(docker): change port redis 2024-04-26 23:00:35 +03:30
..
README.md fix(docker): change port redis 2024-04-26 23:00:35 +03:30
address.go fix(docker): change port redis 2024-04-26 23:00:35 +03:30
animals.go fix(docker): change port redis 2024-04-26 23:00:35 +03:30
beer.go fix(docker): change port redis 2024-04-26 23:00:35 +03:30
book.go fix(docker): change port redis 2024-04-26 23:00:35 +03:30
car.go fix(docker): change port redis 2024-04-26 23:00:35 +03:30
celebrity.go fix(docker): change port redis 2024-04-26 23:00:35 +03:30
colors.go fix(docker): change port redis 2024-04-26 23:00:35 +03:30
company.go fix(docker): change port redis 2024-04-26 23:00:35 +03:30
computer.go fix(docker): change port redis 2024-04-26 23:00:35 +03:30
currency.go fix(docker): change port redis 2024-04-26 23:00:35 +03:30
data.go fix(docker): change port redis 2024-04-26 23:00:35 +03:30
datetime.go fix(docker): change port redis 2024-04-26 23:00:35 +03:30
emoji.go fix(docker): change port redis 2024-04-26 23:00:35 +03:30
errors.go fix(docker): change port redis 2024-04-26 23:00:35 +03:30
files.go fix(docker): change port redis 2024-04-26 23:00:35 +03:30
food.go fix(docker): change port redis 2024-04-26 23:00:35 +03:30
hacker.go fix(docker): change port redis 2024-04-26 23:00:35 +03:30
hipster.go fix(docker): change port redis 2024-04-26 23:00:35 +03:30
html.go fix(docker): change port redis 2024-04-26 23:00:35 +03:30
internet.go fix(docker): change port redis 2024-04-26 23:00:35 +03:30
job.go fix(docker): change port redis 2024-04-26 23:00:35 +03:30
languages.go fix(docker): change port redis 2024-04-26 23:00:35 +03:30
log_level.go fix(docker): change port redis 2024-04-26 23:00:35 +03:30
lorem.go fix(docker): change port redis 2024-04-26 23:00:35 +03:30
minecraft.go fix(docker): change port redis 2024-04-26 23:00:35 +03:30
movie.go fix(docker): change port redis 2024-04-26 23:00:35 +03:30
payment.go fix(docker): change port redis 2024-04-26 23:00:35 +03:30
person.go fix(docker): change port redis 2024-04-26 23:00:35 +03:30
product.go fix(docker): change port redis 2024-04-26 23:00:35 +03:30
school.go fix(docker): change port redis 2024-04-26 23:00:35 +03:30
sentence.go fix(docker): change port redis 2024-04-26 23:00:35 +03:30
word.go fix(docker): change port redis 2024-04-26 23:00:35 +03:30

README.md

Gofakeit Data

Gofakeit data set

List

List()

Get/Set/Remove Data

data.Get("desserts")

data.Set("desserts", map[string][]string{
    "cake":      {"chocolate", "vanilla"},
    "pie":       {"apple", "pecan"},
    "ice cream": {"strawberry", "vanilla"},
})

data.Remove("desserts")

Get/Set/Remove Sub Data

data.GetSubData("desserts", "cake")

data.SetSub("desserts", "cake", []string{"chocolate", "vanilla"})

data.RemoveSub("desserts", "cake")