books

package
v0.0.0-...-9ad72aa Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Book

type Book struct {
	ID            string
	Title         string
	Author        string
	PublishedDate *time.Time
}

func NewBook

func NewBook(title, author string, date *time.Time) *Book

func (*Book) Description

func (b *Book) Description() string

func (*Book) IsNewBook

func (b *Book) IsNewBook() bool

Jump to

Keyboard shortcuts

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