metadata

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2022 License: MIT Imports: 6 Imported by: 2

Documentation

Index

Constants

View Source
const URL string = "https://www.ubisoft.com/de-de/game/rainbow-six/siege/stats/glossary/fa94e165-6328-4a9b-8581-81735ffaba27"

Variables

This section is empty.

Functions

This section is empty.

Types

type Metadata

type Metadata struct {
	Seasons []season
}

func New

func New(scriptJS string) (*Metadata, error)

func (*Metadata) SlugFromID

func (m *Metadata) SlugFromID(seasonID int) string

SlugFromID will return the name of the season with the provided ID or "" if unknown.

func (*Metadata) UnmarshalJSON

func (m *Metadata) UnmarshalJSON(data []byte) error

Jump to

Keyboard shortcuts

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