qiita

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

func New

func New(token string) *Client

func (*Client) ListItems

func (cl *Client) ListItems(p *ListItemsParameters) (Items, error)

type Item

type Item map[string]interface{}

func (Item) TableRows

func (item Item) TableRows() []map[string]interface{}

type Items

type Items []Item

func (Items) TableRows

func (items Items) TableRows() []map[string]interface{}

type ListItemsParameters

type ListItemsParameters struct {
	Page    *int    `url:"page,omitempty"`
	PerPage *int    `url:"per_page,omitempty"`
	Query   *string `url:"query,omitempty"`
}

Jump to

Keyboard shortcuts

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