Skip to content

Latest commit

 

History

History
22 lines (16 loc) · 467 Bytes

README.md

File metadata and controls

22 lines (16 loc) · 467 Bytes

Faker for Go

build status

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.