literal

package
v0.0.0-...-d0af844 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Auth

type Auth struct {
	Email    string `env:"LITERAL_EMAIL"`
	Password string `env:"LITERAL_PASSWORD"`
}

Auth is the authentication information for the literal.club API.

type Author

type Author struct {
	Name graphql.String
}

Author is an author.

type Book

type Book struct {
	Slug        graphql.String
	Title       graphql.String
	Subtitle    graphql.String
	Description graphql.String
	Authors     []Author
}

Book is a book.

func CurrentlyReading

func CurrentlyReading() ([]Book, error)

CurrentlyReading retrieves the currently reading list.

Jump to

Keyboard shortcuts

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