toy

package
v1.0.7 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2023 License: GPL-3.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FIRST  = "What the"
	SECOND = "F*ck"
)

Variables

View Source
var Epoch int64 = 1288834974657

Functions

func ConcurrentWriteString

func ConcurrentWriteString()

func F

func F() float64

func G

func G()

func GenRandomString

func GenRandomString() string

func HashBySha1

func HashBySha1(input string) string

func JsonCompare

func JsonCompare(left, right map[string]interface{}, n int, ignoreFields ...string) (string, bool)

func JudgeItem

func JudgeItem(item string) bool

func JudgeVC

func JudgeVC(did string) bool

func LoadItem

func LoadItem(item string) (interface{}, bool)

func MatchTime

func MatchTime(str string) string

func MockTennisBallGame

func MockTennisBallGame()

func RotateDelay

func RotateDelay()

func RunCrossPrint

func RunCrossPrint()

func RunSynthesizeH2O

func RunSynthesizeH2O()

func StartPigGame

func StartPigGame()

func SwapString

func SwapString(src string, num int) string

func SyncRunDemo

func SyncRunDemo()

func ToSnakeCase

func ToSnakeCase(str string) string

ToSnakeCase method change string to snakecase

Types

type ID

type ID int64

type JsonDiff

type JsonDiff struct {
	HasDiff bool
	Result  string
	// contains filtered or unexported fields
}

type Node

type Node struct {
	// contains filtered or unexported fields
}

func NewNode

func NewNode(n int64) (*Node, error)

func (*Node) Generate

func (n *Node) Generate() ID

Jump to

Keyboard shortcuts

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