Skip to content

Latest commit

 

History

History
39 lines (30 loc) · 979 Bytes

README.md

File metadata and controls

39 lines (30 loc) · 979 Bytes

ThunderGo

Go client for the Thunderstore API.
You can call it TSGO for short ;)

Warning

This project is a WIP and may not work correctly and/or have missing features.
It is not advised to use this in production until there is a stable release.

Installation

Enter the following line into your project's terminal.

go get github.com/the-egg-corp/thundergo/

Usage

This simple example illustrates how to interact with ThunderGo.

import (
    TSGO "github.com/the-egg-corp/thundergo/experimental"
)

func main() {
    mod, err := TSGO.GetPackage("Owen3H", "CSync")

    if err != nil {
        fmt.Println(err)
        return
    }

    changelog, _ := mod.Latest.Changelog()
    fmt.Println(changelog)
}

Visit the wiki for the full documentation.

Contact

Feel free to join my discord for support or suggestions.