gowasm

package
v0.0.0-...-909cb6c Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2022 License: BSD-3-Clause Imports: 14 Imported by: 0

Documentation

Overview

Go WASM output

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FormatPkg

func FormatPkg(filename, singlePkg string) string

FormatPkg is used to get a default package name from a filename

Types

type Source

type Source struct {
	Package string

	Content []byte
	// contains filtered or unexported fields
}

func WriteSource

func WriteSource(conv *types.Convert) ([]*Source, error)

WriteSource is create source code files. returns map["path/filename"]"file content"

func (*Source) Filename

func (src *Source) Filename(insidePkg string) (string, bool)

Jump to

Keyboard shortcuts

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