moduleimport

package
v0.0.0-...-7149754 Latest Latest
Warning

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

Go to latest
Published: May 28, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewStargate

func NewStargate(replacer placeholder.Replacer, opts *ImportOptions) (*genny.Generator, error)

NewStargate returns the generator to scaffold code to import wasm module inside a Stargate app

Types

type ImportOptions

type ImportOptions struct {
	AppName          string
	AppPath          string
	Feature          string
	BinaryNamePrefix string
}

ImportOptions ...

func (*ImportOptions) Validate

func (opts *ImportOptions) Validate() error

Validate that options are usable

Jump to

Keyboard shortcuts

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