-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #13 from j-low/add-root-package
chore: add package root
- Loading branch information
Showing
1 changed file
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |