utils

package
v1.5.26 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CLangENG = 0
	CLangRUS = 1
	CLangESP = 2
)

Variables

This section is empty.

Functions

func FromILanguage added in v1.5.15

func FromILanguage(pLang ILanguage) string

func HasNotWritableCharacters

func HasNotWritableCharacters(pS string) bool

func ReplaceTextToEmoji

func ReplaceTextToEmoji(pS string) string

Types

type ILanguage added in v1.5.15

type ILanguage int

func ToILanguage added in v1.5.15

func ToILanguage(s string) (ILanguage, error)

type SMessageInfo

type SMessageInfo struct {
	FFileName  string `json:"filename"` // can be ""
	FTimestamp string `json:"timestamp"`
	FSenderID  string `json:"sender_id"`
	FMessage   string `json:"message"`
}

Jump to

Keyboard shortcuts

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