bookShelf

package
v0.0.0-...-10ffd4c Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2020 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BookShelfer

type BookShelfer interface {
	Append(string)
	Get(int) Booker
	Len() int
	Iterator() <-chan Booker
}

BookShelfer 汇集了书架所需的方法

func New

func New() BookShelfer

New 返回了一个BookShelfer接口

type Booker

type Booker interface {
	Do()
}

Booker 包含了book所有的暴露方法

Jump to

Keyboard shortcuts

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