66246 update golang cookbook to work for daptiv

@heathsnow or @sneal  Sorry for repeat, I messed up my pull request and made it against wrong master.
 I need a tester to review my tests on #66246 and merge this pull request if everything looks good.