Files
zeekay 0b2e3abe65 chore: initial commit — tree had no git at all
github.com/hanzoai/template existed only as loose files: no .git, no history, no remote. Sweeps that
look for a .git directory could not see it, and an rm -rf would have destroyed
it with nothing to recover from.

Committed as-is; no source modified.

NOTE: no remote. This is still one copy in one place.
2026-07-26 04:41:01 -07:00

21 lines
620 B
Go

package api
import "net/http"
// ExampleGet is a placeholder tenant-scoped handler. Replace with your
// domain logic. The middleware chain guarantees:
//
// claims.FromContext(ctx).OrgID != ""
// claims.FromContext(ctx).UserID != ""
//
// So handlers never need to nil-check identity — the chain already 503'd
// the caller if headers were missing.
func (*App) ExampleGet(w http.ResponseWriter, _ *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// ExampleCreate is the write counterpart.
func (*App) ExampleCreate(w http.ResponseWriter, _ *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}