2021-03-20 17:32:11 +07:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
|
|
|
|
|
|
<head>
|
|
|
|
<meta charset="utf-8" />
|
2021-03-22 06:46:19 +07:00
|
|
|
<title>Go Mod WASM Example</title>
|
2021-03-20 17:32:11 +07:00
|
|
|
</head>
|
|
|
|
|
|
|
|
<body>
|
2021-03-22 06:46:19 +07:00
|
|
|
<h1>This is an example Go WASM Project.</h1>
|
|
|
|
<h3>
|
|
|
|
<a href="https://gitea.teamortix.com/Team-Ortix/go-mod-wasm/src/branch/master/example/basic/src/api/main.go">
|
|
|
|
Sample Go code
|
|
|
|
</a>
|
|
|
|
</h3>
|
|
|
|
|
|
|
|
<h2>Value from Go:</h2>
|
|
|
|
<h3 id="value"> </h3>
|
|
|
|
|
|
|
|
<h2>Call function from Go:</h2>
|
|
|
|
<input type="text" id="input" value="Team Ortix" />
|
|
|
|
<h3 id="funcValue"> </h3>
|
2021-03-20 17:32:11 +07:00
|
|
|
<script src="main.js"></script>
|
|
|
|
</body>
|
|
|
|
|
|
|
|
</html>
|