utils

package
v1.5.18 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2023 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 ""
	FMessage   string `json:"message"`
	FTimestamp string `json:"timestamp"`
}

Jump to

Keyboard shortcuts

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