Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/walkersumida/jaker

Jaker is a faker for Japanese. Jakerは日本語のためのフェイカーです。
https://github.com/walkersumida/jaker

faker go golang

Last synced: 17 days ago
JSON representation

Jaker is a faker for Japanese. Jakerは日本語のためのフェイカーです。

Awesome Lists containing this project

README

        

# Jaker(`Japanese` + `Faker`)
![badge](https://github.com/walkersumida/faker/actions/workflows/test.yml/badge.svg)

Jaker is a faker for Japanese.

Jakerは日本語のためのフェイカーです。

## Getting Started
### Download

```
go get -u github.com/walkersumida/jaker
```

### Usage

```golang
import "github.com/walkersumida/jaker"

profile := jaker.NewProfile()

fmt.Println(profile.EnCompany)
// => "Suzuki Capital Partners, Inc."

fmt.Println(profile.JaKanjiFullName)
// => "鈴木 一郎"

fmt.Println(profile.EnFullName)
// => "Ichiro Suzuki"

fmt.Println(profile.Email)
// => "[email protected]"

fmt.Println(jaker.Uuid())
// => "add0de95-6d27-44de-ab7a-d45998bc6b05"

fmt.Println(jaker.Text("abcあいう", 10))
// => "abcあいうabcあ"
```