Skip to content

Latest commit

 

History

History
24 lines (17 loc) · 778 Bytes

README.md

File metadata and controls

24 lines (17 loc) · 778 Bytes

go-gumroad

Build Status Coverage Status

Easily check licenses against Gumroad's API.

Usage

package main

import "github.com/caarlos0/go-gumroad"

func check(key string) error {
	prod, err := gumroad.NewProduct("my-product-permalink")
	if err != nil {
		return err
	}
	return prod.Verify(key)
}