Skip to content

A Go (golang) library for the sub.club API

License

Notifications You must be signed in to change notification settings

musingstudio/go-subclub

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-subclub

Go Reference

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)
}

About

A Go (golang) library for the sub.club API

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages