list_kit

package module
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2023 License: MIT Imports: 1 Imported by: 0

README

List-kit

List-kit is a toolkit by golang.

Install

Clone the repo

git clone https://github.com/Ray-Monica/list-kit.git
Author

sunray97@163.com

License

[![MIT License][license-shield]][license-url]

Documentation

Overview

*

  • @Author: ray
  • @Description: this is a tool kit of list.
  • @File: list
  • @Version: 1.0.0
  • @Date: 2023/12/21 14:17

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAllElementPositive2Slice

func GetAllElementPositive2Slice(l *List) []interface{}

GetAllElementPositive2Slice get all elements from list to slice order by positive

func GetAllElementReverse2Slice

func GetAllElementReverse2Slice(l *List) interface{}

GetAllElementReverse2Slice get all elements from list to slice order by reverse

func IndexOfList

func IndexOfList(l *List, start, end int) (v any)

IndexOfList get value as a any type ([]Type) by index.

Types

type List

type List = list.List

Jump to

Keyboard shortcuts

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