xutils

package
v0.0.15 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2023 License: MIT Imports: 2 Imported by: 8

Documentation

Overview

功能: 说明:

功能:定义 说明:

功能: 说明:

功能:字符串相关 说明:

Index

Constants

View Source
const (
	POKER_X_STUDIO = "Poker X Studio"      //
	DATE_FORMAT    = "2006-01-02 15:04:05" //日期格式
	SPACE          = " "                   //空格
	NEW_LINE       = "\r\n"                //换行符
	LOG_FOLDER     = "log"                 //日志目录
)
View Source
const (
	WINDOWS = "windows"
	MAC     = "darwin"
	LINUX   = "linux"
	FREEBSD = "freebsd"
)

Variables

This section is empty.

Functions

func Is_contains

func Is_contains[T byte | int | int32 | int64](all []T, element T) bool

Is_contains 是否包含

func Slice_insert

func Slice_insert[T byte | int](all []T, index int, data T) []T

Slice_insert 插入

func String_reverse

func String_reverse(str string) string

String_reverse 反转字符串

Types

This section is empty.

Jump to

Keyboard shortcuts

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