summaryrefslogtreecommitdiffstats
path: root/src/fluent-bit/tests/runtime/wasm/go/say_hello.go
blob: e5efa3f97edc1b39ed65954c1cb00f69e616ae89 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
package main

import (
	"fmt"
)

//export filter_say_hello
func filter_say_hello(tag *uint8, tag_len uint, time_sec uint, time_nsec uint, record *uint8, record_len uint) *uint8 {
	fmt.Println("Hello from WASM!")

	return record
}

func main() {}