Re:Thirteen Years of Go
by TrustPatches on Friday November 11, 2022 @03:44PM
(#33566547)
Very cool, I guess one the the advantages of rust macros is that you could write your own to do something more advanced in theory
Re:Thirteen Years of Go
by super_flanker on Friday November 11, 2022 @03:53PM
(#33566666)
You can do the same in Rust with include_dir[1]
Random blog post with a few examples:
https://blog.carlmjohnson.net/post/2021/how-to-use-go-embed/