goruntime

package
v0.53.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 20, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Files = func() *zip.Reader {
	cmd := exec.Command("git", "rev-parse", "--show-toplevel")
	out, err := cmd.CombinedOutput()
	if err != nil {
		panic(err)
	}
	dir := filepath.Join(strings.TrimSpace(string(out)), "go-runtime", "scaffolding")
	w, err := os.CreateTemp("", "")
	if err != nil {
		panic(err)
	}
	defer os.Remove(w.Name())
	if err != nil {
		panic(err)
	}

	err = internal.ZipDir(dir, w.Name())
	if err != nil {
		panic(err)
	}

	info, err := w.Stat()
	if err != nil {
		panic(err)
	}
	_, _ = w.Seek(0, 0)
	zr, err := zip.NewReader(w, info.Size())
	if err != nil {
		panic(err)
	}
	return zr
}()

Files is the FTL Go runtime scaffolding files.

Functions

This section is empty.

Types

This section is empty.

Directories

Path Synopsis
Package compile compiles FTL Go module source into a deployable executable.
Package compile compiles FTL Go module source into a deployable executable.
sdk
kvstore
Package kvstore provides a generic key-value store.
Package kvstore provides a generic key-value store.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL