author

package
v0.4.6 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Author

type Author struct {
	ID        string
	UserID    string
	Name      string
	AvatarURL string
	Biography string
}

Author of book, has different id from user.

func (*Author) Fetch

func (a *Author) Fetch(ctx context.Context) (err error)

Fetch data from author info page.

func (Author) URL

func (a Author) URL() string

URL of author info page.

Jump to

Keyboard shortcuts

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