Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/manveru/faker
generate fake data in go
https://github.com/manveru/faker
Last synced: 3 days ago
JSON representation
generate fake data in go
- Host: GitHub
- URL: https://github.com/manveru/faker
- Owner: manveru
- License: mit
- Created: 2012-04-07T22:32:29.000Z (almost 13 years ago)
- Default Branch: master
- Last Pushed: 2017-11-03T15:27:24.000Z (about 7 years ago)
- Last Synced: 2024-12-31T19:13:07.814Z (10 days ago)
- Language: Go
- Homepage:
- Size: 106 KB
- Stars: 165
- Watchers: 7
- Forks: 27
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Faker for Go
![build status](https://travis-ci.org/manveru/faker.svg?branch=master)
## Usage
package main
import (
"github.com/manveru/faker"
)func main() {
fake, err := faker.New("en")
if err != nil {
panic(err)
}
println(fake.Name()) //> "Adriana Crona"
println(fake.Email()) //> [email protected]
}Inspired by the ruby faker gem, which is a port of the Perl Data::Faker library.