util

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 29, 2020 License: GPL-3.0 Imports: 2 Imported by: 1

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