util

package
v2.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2019 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CQCode

func CQCode(function string, keyvalue ...interface{}) string

CQCode 生成一段CQ码,value将被自动转义 panics if given an odd number of keyvalue.

func Escape

func Escape(str string) string

Escape 对于不在CQ码内的消息(即文本消息)进行转义 以防止它们被酷Q解析为CQ码

Types

This section is empty.

Jump to

Keyboard shortcuts

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