Documentation
¶
Index ¶
- func Bytes_To_Json(byteValue []byte, json_data interface{})
- func InSlice(e interface{}, s interface{}) bool
- func Read_String(field_size int, prompt, border string) string
- func Reverse_Slice(slice interface{})
- func Slice_Index(e interface{}, s interface{}) int
- func Slice_Pop(slice interface{}, index int) bool
- func Slice_Remove_Duplicate(slice interface{})
- func Sort_Slice(s interface{})
- func String_To_Date(date_str string) time.Time
- func Swap_Slice(index1 int, index2 int, slice interface{})
- func To_Struct(inter interface{}, struc interface{})
- type Bool
- type Float64
- type Float64_Slice
- type Int
- type Int64
- type Int_Slice
- type String
- type String_Slice
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Bytes_To_Json ¶
func Bytes_To_Json(byteValue []byte, json_data interface{})
func Read_String ¶
field_size : Max size of text (must be greater than 1). prompt : Text displayed before input. border : Delimiters of textbox (if not needed can be left like an empty string).
func Reverse_Slice ¶
func Reverse_Slice(slice interface{})
func Slice_Index ¶
func Slice_Index(e interface{}, s interface{}) int
func Slice_Remove_Duplicate ¶
func Slice_Remove_Duplicate(slice interface{})
func Sort_Slice ¶
func Sort_Slice(s interface{})
To sort slices in ascending order 's' must be a pointer to a slice of int, float64, time or string Algorithm used: quick sort
func String_To_Date ¶
func Swap_Slice ¶
Types ¶
type Float64_Slice ¶
type Float64_Slice []Float64
func (Float64_Slice) Value ¶
func (f_slice Float64_Slice) Value() []float64
type Int ¶
type Int int
func Map_Length ¶
func Map_Length[M ~map[K]V, K comparable, V any](m M) Int
func Random_Int ¶
func Slice_Length ¶
func (Int) To_Float64 ¶
type String_Slice ¶
type String_Slice []String
func (String_Slice) Concatenate ¶
func (s_slice String_Slice) Concatenate(sep string) String
Concatenate String Slice
func (String_Slice) Value ¶
func (s_slice String_Slice) Value() []string
Click to show internal directories.
Click to hide internal directories.