Documentation ¶
Index ¶
- func BytesToInt64(b []byte) int64
- func BytesToString(b []byte) string
- func Domain(link string) (string, error)
- func Int64ToBytes(i int64) []byte
- func MaxLen(str string, max int) string
- func Must[T any](value T, err error) T
- func SafeDomain(link string) string
- func SplitMax(text, sep string, max int) []string
- func StringToBytes(s string) []byte
- func StripHTMLTags(s string) string
- func StripNewLine(s string, maxNewLine int) string
- func ToPtr[T any](val T) *T
- type Dict
- type List
- func (l *List[T]) Add(item T)
- func (l *List[T]) Del(i int, j int)
- func (l *List[T]) Get(i int) T
- func (l *List[T]) Insert(i int, item T)
- func (l *List[T]) IsEmpty() bool
- func (l *List[T]) Len() int
- func (l *List[T]) Loop(fn func(i int, item T) bool)
- func (l *List[T]) Shift() T
- func (l *List[T]) Unshift(item T)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BytesToInt64 ¶
func BytesToString ¶
func Int64ToBytes ¶
func SafeDomain ¶
func StringToBytes ¶
func StripHTMLTags ¶
func StripNewLine ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.