user

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2022 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 User

type User struct {
	ID     string
	Name   string
	Avatar image.URLs
}

User data.

func (*User) Fetch

func (i *User) Fetch(ctx context.Context) (err error)

Fetch additional data from pixiv single user api,

func (User) URL added in v0.3.0

func (i User) URL(ctx context.Context) *url.URL

URL to view web page.

Jump to

Keyboard shortcuts

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