How to access time.Now() inside a WASM plugin?

Hi there, I'm trying to create a plugin in wasm via go. I ran into two problems:

  • time.Now() complains about get_time not being provided by the host
  • a simple regex with capture groups seems to throw an exception on the regex backtrack code