14 lines
360 B
Go
14 lines
360 B
Go
|
//go:generate go run github.com/bytecodealliance/wasm-tools-go/cmd/wit-bindgen-go generate --world hello --out gen ./wit
|
||
|
package main
|
||
|
|
||
|
import (
|
||
|
)
|
||
|
|
||
|
func init() {
|
||
|
loop()
|
||
|
}
|
||
|
|
||
|
// Since we don't run this program like a CLI, the `main` function is empty. Instead,
|
||
|
// we call the `handleRequest` function when an HTTP request is received.
|
||
|
func main() {}
|