/go-lorem

A golang library for generating mock data

Primary LanguageGoMIT LicenseMIT

go-lorem

A golang library for generating mock data

codecov GitHub

install

go get github.com/CiroLee/go-lorem

usage

import 
  (
    "github.com/CiroLee/go-lorem"
  )

func main() {
  // generate a Chinese word with two characters
  t := lorem.Word(2, "zh")
  // 汉啊 
}

Docs

detail apis see docs