repositorypackage
1.0.0
Repository: https://github.com/musingstudio/go-subclub.git
Documentation: pkg.go.dev
# README
go-subclub
A Go (golang) library for interacting with the sub.club API.
Example Usage
package main
import (
"fmt"
"github.com/musingstudio/go-subclub"
)
func main() {
c := subclub.NewClient("YOUR SUB.CLUB KEY")
p, err := c.Post(&subclub.PostParams{
Content: "This is my premium post",
})
if err != nil {
fmt.Println(err)
}
fmt.Printf("Post: %+v", p)
}