Faker is a golang package that generates fake data.
It was inspired by 'Python Faker' from joke2k (which is also the source of all the initial localized content) and 'Ruby Faker' from stympy
go get -u github.com/rfsbraz/faker
package main
import (
"github.com/rfsbraz/faker"
"log"
)
func main() {
faker := NewFaker("pt_PT")
log.Println(faker.Person.Name())
}
Version 1.0 will feature the following modules:
- Address
- Barcode
- Color
- Company
- CreditCard
- Currency
- DateTime
- File
- Internet
- Job
- Lorem
- Miscellenous
- Person
- PhoneNumber
- Profile
- UserAgent