mirror of
https://github.com/hanzoai/zip.git
synced 2026-10-30 20:11:40 +00:00
The import path a reader types is the one the org owns, rather than the forge that happens to host the bytes. hanzo.ai serves the go-import meta and points it at the same repository, so where the code lives does not change. The README's `go get` line moves with it — an install instruction naming the old path is the one leftover a reader would actually follow.
17 lines
630 B
Go
17 lines
630 B
Go
// Package runtime is the zip-side projection of HIP-0105's extension
|
|
// runtime contract. Consumers of zip pass a Loader implementation here
|
|
// (typically *extruntime.Loader from hanzoai/base/plugins/extruntime)
|
|
// and zip mounts modules as routes via app.Module().
|
|
package runtime
|
|
|
|
import internal "hanzo.ai/zip/internal/runtime"
|
|
|
|
// Loader is re-exported from internal/runtime for ergonomic use:
|
|
//
|
|
// loader := myextruntime.NewLoader(...) // implements zipruntime.Loader
|
|
// app := zip.New(zip.Config{Loader: loader})
|
|
type Loader = internal.Loader
|
|
|
|
// Module is re-exported from internal/runtime.
|
|
type Module = internal.Module
|