Categorygithub.com/thelolagemann/mcversion
repositorypackage
0.1.0
Repository: https://github.com/thelolagemann/mcversion.git
Documentation: pkg.go.dev

# README

mcversion

GitHub release (latest SemVer including pre-releases) Go Doc GitHub go.mod Go version GitHub Workflow Status Go ReportCard

A small golang library to access the minecraft version API.

Getting Started

Installation

go get github.com/mcversion/mcversion

Usage

package main
import (
	"fmt"
	"github.com/thelolagemann/mcversion"
)

func main() {
	version, err := mcversion.Version("1.12.2")
	if err != nil {
		panic(err)
	}
	fmt.Println(version.Name)
}

// Output: 1.12.2