Skip to content

zhaolion/gofaker

Repository files navigation

Build StatusGoDoc

gofaker

gofaker(inspired by ruby gem faker) is a useful tool for generating data.

go version: 1.9+

Usages

Installation

go get github.com/zhaolion/gofaker

Demo:

package main

import (
	"fmt"

	"github.com/zhaolion/gofaker"
)

func main() {
	gofaker.SetLocale("zh-CN")
	fmt.Println(gofaker.RandomCellPhone())
}

How to contribute

curl https://glide.sh/get | sh
make dep
make test

Please PR, Thanks.

Releases

No releases published

Packages

No packages published