Can you convert the code to Go or Rust for me?