Documentation
¶
Index ¶
- Constants
- func AddingBook(l *Library)
- func BorrowBook(l *Library)
- func IsSameBook(b1, b2 Book) bool
- func LoadBooks(lib *Library) bool
- func RemoveBook(l *Library)
- func SaveLms(lib *Library)
- func StartLms()
- func SubmitBook(l *Library)
- func TakeNameAndAuthor() (name, author string)
- type Book
- type Library
Constants ¶
View Source
const NameSeparator = "#"
Variables ¶
This section is empty.
Functions ¶
func AddingBook ¶
func AddingBook(l *Library)
func BorrowBook ¶
func BorrowBook(l *Library)
func RemoveBook ¶
func RemoveBook(l *Library)
func SubmitBook ¶
func SubmitBook(l *Library)
func TakeNameAndAuthor ¶
func TakeNameAndAuthor() (name, author string)
Types ¶
type Library ¶
type Library struct {
// contains filtered or unexported fields
}
func (*Library) BorrowBook ¶
func (*Library) RemoveBook ¶
func (*Library) SubmitBook ¶
Click to show internal directories.
Click to hide internal directories.