Hacker News new | ask | show | jobs
by notaboredguy 830 days ago
Yes, check https://doc.rust-lang.org/std/macro.include_str.html
1 comments

It's a utf8 string though, Go gives you a reader which is any type of data.