I had the same problem - really liked the way I used to do component composition in React, it was hard to go back.
Eventually found a way to do something similar using just the standard Go html/template.
I’ve written about the implementation here:
https://www.sheshbabu.com/posts/react-like-composition-using...