wasi-module-sdk-go/examples/hello_world_go/main.go

18 lines
279 B
Go
Raw Normal View History

2023-05-08 13:21:31 +00:00
package main
2023-05-24 20:11:05 +00:00
//go:generate mockery
2023-05-08 13:21:31 +00:00
import (
2023-05-18 16:21:44 +00:00
sdk "code.icb4dc0.de/buildr/wasi-module-sdk-go"
2023-05-08 13:21:31 +00:00
"hello_world/module"
)
func init() {
sdk.Register(sdk.CategoryTask, "hello_world", sdk.ModuleFactoryFunc(func() sdk.Module {
return new(module.HelloWorld)
}))
}
func main() {
}