models

package
v0.0.0-...-4efaefa Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNoRecord = errors.New("models: no record found")

Functions

This section is empty.

Types

type Book

type Book struct {
	ISBN            int          `json:"isbn"`
	BookName        string       `json:"book_name"`
	Author          string       `json:"author"`
	PageCount       int          `json:"page_count"`
	BookCount       int          `json:"book_count"`
	BorrowTimes     int          `json:"borrow_times"`
	BorrowDate      sql.NullTime `json:"borrow_date"`
	LastReceivedDay sql.NullTime `json:"last_received_day"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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