1.8-ify golang resource