Easily check licenses against Gumroad's API.
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)
}