Documentation
¶
Index ¶
- func FormatTime(t time.Time, format string) string
- func GetRealIP(r *http.Request) string
- func GetReplyDepthSize() int
- func IsDebug() bool
- func NewLine2BR(source string) string
- func PrintJSONf(prefix string, data any)
- func ReplaceLink(str string) string
- func Reverse[V any](arr []V) []V
- func SprintJSONf(data any, prefix, indent string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormatTime ¶
Format time to string with "Y"(year), "M"(month), "D"(day), "h"(hour), "m"(minute), "s"(second)
func GetReplyDepthSize ¶
func GetReplyDepthSize() int
func NewLine2BR ¶
func ReplaceLink ¶
func SprintJSONf ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.