caarlos0 / go-gumroad

Easily check licenses against Gumroad's API.

Home Page:https://pkg.go.dev/github.com/caarlos0/go-gumroad

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Easily check licenses against Gumroad's API.

https://pkg.go.dev/github.com/caarlos0/go-gumroad

License:MIT License


Languages

Language:Go 96.4%Language:Makefile 3.6%