Skip to content

The-Egg-Corp/ThunderGo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.