randomname

package module
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 19, 2022 License: MIT Imports: 2 Imported by: 2

README

randomname

random nickname

Usage
go get github.com/DanPlayer/randomname

name := randomname.GenerateName()

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ActSomethingSlice = []string{
	"打豆豆", "吃爆米花", "走向人生巅峰", "大力出奇迹", "得到了金球奖", "爆射世界杯", "有亿点点忧伤", "完成了梅开二度", "完成了帽子戏法", "完成了大四喜", "完成了五子登科",
	"望穿秋水", "掐指一算", "横扫千军", "一眼定情", "会发财", "求而不得", "舞力四射", "横扫六合", "救了一个美女", "使出了佛怒火莲", "在巴黎徒步", "心花怒放", "在武汉看电影",
}

ActSomethingSlice 做什么事情

View Source
var ActSomethingSliceCount = len(ActSomethingSlice)
View Source
var AdjectiveSlice = []string{}/* 337 elements not displayed */

AdjectiveSlice 形容词

View Source
var AdjectiveSliceCount = len(AdjectiveSlice)
View Source
var PersonSlice = []string{
	"梅西", "罗纳尔多", "内马尔", "贝克汉姆", "姆巴佩", "苏牙", "小罗", "大罗", "鲁尼", "本泽马", "贝利", "约翰", "柯南", "米老鼠",
	"弗朗茨", "普拉蒂尼", "迪斯蒂法诺", "普斯卡什", "乔治·贝斯特", "范巴斯滕", "尤西比奥", "列夫·雅辛", "博比", "博比·摩尔", "盖德·穆勒",
	"巴乔", "斯坦利", "济科", "弗兰科", "加林查", "保罗", "肯尼", "巴蒂斯图塔", "坎通纳", "哈吉", "罗马里奥",
	"齐达內", "古利特", "约翰·查尔斯", "卡卡", "哈维", "伊布", "莫德里奇", "欧文", "巴乔", "萧炎", "鸣人", "佐助", "盖茨比", "乔布斯", "索尔",
	"宙斯", "雅典娜", "星矢", "托尼", "科比", "乔丹", "西瓜太郎", "一休", "莫甘娜", "永恩", "爱因斯坦", "肖申克", "摩尔",
}

PersonSlice 人物

View Source
var PersonSliceCount = len(PersonSlice)

Functions

func GenerateName

func GenerateName() string

GenerateName 生成随机昵称

Types

type RandomType

type RandomType int
const (
	AdjectiveAndPerson RandomType = iota // 形容词+人物 例如:帅气的罗纳尔多
	PersonActSomething                   // 人物+做事情 例如:梅西吃爆米花
)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL