achievements

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2024 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Image

type Image struct {
	Size string `json:"size"`
	Link string `json:"link"`
}

type Item

type Item struct {
	ID                 string       `json:"id"`
	Title              string       `json:"title"`
	Subtitle           string       `json:"subtitle"`
	Description        string       `json:"description"`
	AchievementMessage string       `json:"achievement_message"`
	Images             []Image      `json:"images"`
	Progress           Progress     `json:"progress"`
	AchievedAt         *common.Time `json:"achieved_at"`
	ViewedAt           *common.Time `json:"viewed_at"`
	Exclusive          bool         `json:"exclusive"`
}

type Progress

type Progress struct {
	Goal    int `json:"goal"`
	Current int `json:"current"`
}

Jump to

Keyboard shortcuts

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