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 ¶ added in v0.9.2
func LanguageAliases() map[SupportedLanguage][]string
func SupportedLanguages ¶ added in v0.9.1
func SupportedLanguages() map[SupportedLanguage]string
func WasmDeprecatedOutput ¶ added in v0.10.6
func WasmOutput ¶ added in v0.9.5
Types ¶
type Dir ¶
func (Dir) WasmCompressed ¶
type SupportedLanguage ¶ added in v0.9.1
type SupportedLanguage string
const ( Rust SupportedLanguage = "Rust" Go SupportedLanguage = "Go" AssemblyScript SupportedLanguage = "Assembly_Script" )
Supported Languages
func LangFromExt ¶ added in v0.9.1
func LangFromExt(ext string) *SupportedLanguage
func (SupportedLanguage) CopyFunctionTemplateConfig ¶ added in v0.9.1
func (s SupportedLanguage) CopyFunctionTemplateConfig(templateRepo *git.Repository, wd, destination string) error
func (SupportedLanguage) Extension ¶ added in v0.9.1
func (s SupportedLanguage) Extension() string
Click to show internal directories.
Click to hide internal directories.