Skip to content

Commit

Permalink
Merge pull request #13 from j-low/add-root-package
Browse files Browse the repository at this point in the history
chore: add package root
  • Loading branch information
j-low authored Jan 18, 2025
2 parents 1912b02 + e3e9684 commit 9dcf52a
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions gocommerce.go
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

0 comments on commit 9dcf52a

Please sign in to comment.