go-modpacksch

module
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2022 License: MIT

README

go-modpacksch

go-modpacksch is a Go client library for accessing the modpacks.ch API.

Usage

import "git.sr.ht/~jmansfield/go-modpacksch/modpacksch"

Construct a new modpacks.ch client, then use the various services on the client to access different parts of the modpacks.ch API. For example:

client := modpacksch.NewClient(nil)

// Get the FTB Revelation pack (id = 35)
pack, err := client.Packs.GetPack(35)

Contributing

I encourage developers to contribute to go-modpacksch, we use an email workflow where all patches should be sent to our mailing list.

License

This library is distributed under the MIT license, found in the LICENSE.txt file.

Directories

Path Synopsis
Package modpacksch provides a client for using the modpacks.ch API.
Package modpacksch provides a client for using the modpacks.ch API.

Jump to

Keyboard shortcuts

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