ParentFull threadhelper·In go you can use build tags to achieve this. The compiler will drop function calls to empty function implementations (tested on go 1.11.5).View on HN