array

package
v0.50.11 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Int64ToString

func Int64ToString(i64 []int64, sep ...string) string

Int64ToString int64 切片转字符串

eg: Int64ToString([]int64{1, 2, 3, 4}) -> "1,2,3,4"

eg: Int64ToString([]int64{1, 2, 3, 4}, "+") -> "1+2+3+4"

func IntToString

func IntToString(i []int, sep ...string) string

IntToString int 切片转字符串

eg: IntToString([]int{1, 2, 3, 4}) -> "1,2,3,4"

eg: IntToString([]int{1, 2, 3, 4}, "+") -> "1+2+3+4"

func StringToString

func StringToString(str []string, sep ...string) string

StringToString 字符串切片转字符串

eg: StringToString(["1","2","3","4"]) -> "1,2,3,4"

eg: StringToString(["1","2","3","4"], "+") -> "1+2+3+4"

Types

This section is empty.

Jump to

Keyboard shortcuts

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