change code example to go