types

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2022 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Iterator

type Iterator interface {
	// Next
	// 第一个参数: 生成的值 仅第二个参数为false时有效
	// 第二个参数: done标记,true表示迭代已结束,第一个返回值不是有效值
	Next() (any, bool)
}

Iterator 迭起器接口

Jump to

Keyboard shortcuts

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