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.
Enter the following line into your project's terminal.
go get github.com/the-egg-corp/thundergo/
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.
Feel free to join my discord for support or suggestions.