mirror of
https://github.com/hanzoai/commerce.git
synced 2026-10-30 15:08:42 +00:00
Multi-tenant commerce and billing: orders, subscriptions, invoices, plans, usage metering and a credit ledger. One Go binary. MIT OR Apache-2.0. Claude-Session: https://claude.ai/code/session_01SAtaDFm8VDiWrhYHNNtxMw
13 lines
560 B
AMPL
13 lines
560 B
AMPL
// github.com/hanzoai/commerce/metering is a standalone, stdlib-only module so
|
|
// any product can import the usage-metering hook without pulling in the
|
|
// commerce server's dependency graph. It is nested in the commerce repo (the
|
|
// billing source of truth) but versions and resolves independently.
|
|
//
|
|
// go 1.24 (not the repo's 1.26) keeps the import compatible with every Hanzo
|
|
// service regardless of its toolchain — products never bump Go to adopt billing.
|
|
module github.com/hanzoai/commerce/metering
|
|
|
|
go 1.24
|
|
|
|
require github.com/hanzoai/account v0.2.0
|