Versions in this module Expand all Collapse all v0 v0.4.6 Mar 8, 2024 Changes in this version + type File struct + func NewFile(name string, path string, content []byte) File + func (g File) Data() []byte + func (g File) IsDir() bool + func (g File) Lstat() (os.FileInfo, error) + func (g File) ModTime() time.Time + func (g File) Mode() fs.FileMode + func (g File) Name() string + func (g File) Open() (io.ReadCloser, error) + func (g File) Path() string + func (g File) Size() int64 + func (g File) Sys() any + type GuestLocalPackage struct + GolangFiles []File + RustFiles []File + TypescriptFiles []File + TypescriptPackage *bytes.Buffer + func GenerateGuestLocal(options *Options) (*GuestLocalPackage, error) + type GuestRegistryPackage struct + GolangModfile []byte + GolangModule *bytes.Buffer + RustCargofile []byte + RustCrate *bytes.Buffer + TypescriptPackage *bytes.Buffer + TypescriptPackageJSON []byte + type HostLocalPackage struct + GolangFiles []File + TypescriptFiles []File + TypescriptPackage *bytes.Buffer + func GenerateHostLocal(options *Options) (*HostLocalPackage, error) + type HostRegistryPackage struct + GolangModfile []byte + GolangModule *bytes.Buffer + TypescriptPackage *bytes.Buffer + TypescriptPackageJSON []byte + type Options struct + Extension *extension.Schema + GolangPackageImportPath string + GolangPackageName string + RustPackageName string + RustPackageVersion string + TypescriptPackageName string + TypescriptPackageVersion string