package
0.0.0-20250114054016-c032c0c4f81d
Repository: https://github.com/gnsalok/design-patterns-go.git
Documentation: pkg.go.dev

# Constants

Predefined Book types.
Predefined Book types.
Predefined Book types.
Predefined Book types.

# Structs

Book represents data about a book.
BookIterator is a concrete iterator for a Book collection.
Library holds the collection of books.

# Interfaces

The IterableCollection interface defines the createIterator function, which returns an iterator object.

# Type aliases

BookType represents the type of book.