package
Version:
v1.0.0-rc4
Opens a new window with list of versions in this module.
Published: Jan 1, 2023
License: AGPL-3.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package cqcode provides CQCode util functions.
EscapeText 将字符串raw中部分字符转义
- & -> &
- [ -> [
- ] -> ]
EscapeValue 将字符串value中部分字符转义
- , -> ,
- & -> &
- [ -> [
- ] -> ]
UnescapeText 将字符串content中部分字符反转义
- & -> &
- [ -> [
- ] -> ]
UnescapeValue 将字符串content中部分字符反转义
- , -> ,
- & -> &
- [ -> [
- ] -> ]
Element single message
CQCode convert element to cqcode
MarshalJSON see encoding/json.Marshaler
WriteCQCodeTo write element's cqcode into sb
Source Files
¶
Click to show internal directories.
Click to hide internal directories.