changelog

package
v1.6.2 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2022 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func URL

func URL(versionURL string) string

URL returns a changelog url for a given minecraft version

Types

type Bug

type Bug struct {
	ID   string
	Link string
	Desc string
}

Bug holds fixed bug info

type Changelog

type Changelog struct {
	URL       string
	Title     string
	New       []string
	Changes   []string
	Technical []string
	Bugs      []Bug
}

Changelog holds parsed minecraft version changelog

func FromURL

func FromURL(url string) (*Changelog, error)

FromURL creates a Changelog from url

func (*Changelog) String

func (cl *Changelog) String() string

Jump to

Keyboard shortcuts

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