From e3e968451cbad49f62c900472854cde0d7ccb1b7 Mon Sep 17 00:00:00 2001 From: j-low Date: Sat, 18 Jan 2025 13:45:10 -0600 Subject: [PATCH] chore: add package root --- gocommerce.go | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 gocommerce.go diff --git a/gocommerce.go b/gocommerce.go new file mode 100644 index 0000000..94aa1ce --- /dev/null +++ b/gocommerce.go @@ -0,0 +1,26 @@ +// Package gocommerce provides Go bindings for the SquareSpace v1 Commerce APIs . +// +// This package serves as the root module for gocommerce. Users can access +// specific functionality by importing subpackages such as inventory, orders, +// products, profiles, transactions, and webhooks. +// +// Example: +// import ( +// "context" +// "fmt" +// "net/http" + +// "github.com/j-low/gocommerce/products" +// ) + +// config := common.Config{ +// APIKey: "my_api_key-999", +// UserAgent: "my_user-agent-999", +// Client: http.DefaultClient, +// } + +// resp, err := products.DeleteProduct(ctx, &config, "some-product-id-999") +// if err != nil { +// return fmt.Println(err) +// } +package gocommerce \ No newline at end of file