66246 update golang cookbook to work for daptiv

@heathsnow or @sneal I need a tester to review my tests on #66246 and merge this pull request if everything looks good.