3 ms·
I think they meant literal generation of files based on templates. Basically sed 's/T/int/g' file@T.go > file@int.go Some people do that, I guess.
by ainar-g 8y ago
I think they meant literal generation of files based on templates. Basically
sed 's/T/int/g' file@T.go > file@int.go
Some people do that, I guess.
- pjmlp 8y agoThey do https://www.reddit.com/r/rust/comments/5penft/parallelizing_enjarify_in_go_and_rust/dcsgk7n/ https://www.reddit.com/r/rust/comments/5penft/parallelizing_...
- jimmy1 8y agolittle more 'go' than that, using go generate and the template package. There are also other generators that can generate a 'Stringer' for any type, etc.