Skip to content

[FEATURE] Use wasmexport/wasmimport build tags #26

@nlepage

Description

@nlepage

Go now supports directives to import and export functions to/from the compiled wasm binary, see documentation.

This directives could be used to simplify how go-wasm-http-server interacts with the browser.

wasmimport is available since Go 1.22 and wasmexport is available since Go 1.24.

It would be nice to keep backward compatibility with Go 1.22, hence be able to work without wasmexport.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions