Documentation
¶
Index ¶
Constants ¶
View Source
const ( Utils = "utils" ConfigVersion = "0.1.0" BuildFile = "build.sh" WasmFileName = "main" WasmExt = ".wasm" WasmCompressedExt = ".zwasm" ZipFile = "artifact.zip" WasmFile = "main.wasm" DeprecatedWasmFile = "artifact.wasm" BufferSize = 1024 )
Variables ¶
This section is empty.
Functions ¶
func LanguageAliases ¶
func LanguageAliases() map[SupportedLanguage][]string
func SupportedLanguages ¶
func SupportedLanguages() map[SupportedLanguage]string
func WasmDeprecatedOutput ¶
func WasmOutput ¶
Types ¶
type Dir ¶
func (Dir) WasmCompressed ¶
type SupportedLanguage ¶
type SupportedLanguage string
const ( Rust SupportedLanguage = "Rust" Go SupportedLanguage = "Go" AssemblyScript SupportedLanguage = "Assembly_Script" )
Supported Languages
func LangFromExt ¶
func LangFromExt(ext string) *SupportedLanguage
func (SupportedLanguage) CopyFunctionTemplateConfig ¶
func (s SupportedLanguage) CopyFunctionTemplateConfig(templateRepo *git.Repository, wd, destination string) error
func (SupportedLanguage) Extension ¶
func (s SupportedLanguage) Extension() string
Click to show internal directories.
Click to hide internal directories.