What is the right approach to encapsulate platform specific code in Go? What is the right approach to encapsulate platform specific code in Go? go go

What is the right approach to encapsulate platform specific code in Go?