textutil

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2023 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Overview

Package textutil 用于处理文字

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CleanPersonalID added in v1.1.0

func CleanPersonalID(input string) (cleaned string, hasHash bool)

CleanPersonalID 检查是否为pid (有 # 就判断为pid)

如果是就删去 # 并返回 pid

为否就返回输入

func Traditionalize

func Traditionalize(text string) string

Traditionalize 简体转繁体

Types

This section is empty.

Jump to

Keyboard shortcuts

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