Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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.