Documentation ¶
Overview ¶
Package sanitizer 内容修正工具
Index ¶
- func Abs[T interface{ ... }](v *T)
- func BR2NL(v *string)
- func Escape(v *string)
- func Lower(v *string)
- func MD5(v *string)
- func MS[M ~map[K]V, K comparable, V any](f func(*V)) filter.Rule[M]
- func NL2BR(v *string)
- func NL2P(v *string)
- func P2NL(v *string)
- func S[T any](f ...func(*T)) filter.Rule[T]
- func SS[S ~[]T, T any](f ...func(*T)) filter.Rule[S]
- func Sanitizers[T any](f ...func(*T)) func(*T)
- func Trim(v *string)
- func TrimLeft(v *string)
- func TrimRight(v *string)
- func Unescape(v *string)
- func Upper(v *string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.