api.go.tmpl: Switch to using slice getters...
api.go.tmpl: Switch to using slice getters...

...instead of the fields directly.
These fields will not be easily accessible with the switch to cgo types.

Qining/gapid,google/gapid,pmuetschard/gapid,Qining/gapid,google/gapid,google/agi,Qining/gapid,pmuetschard/gapid,Qining/gapid,Qining/gapid,google/agi,pmuetschard/gapid,google/gapid,google/agi,google/agi,google/gapid,Qining/gapid,google/agi,google/agi,pmuetschard/gapid,pmuetschard/gapid,google/gapid,pmuetschard/gapid,google/gapid,pmuetschard/gapid,pmuetschard/gapid,Qining/gapid,google/gapid,google/gapid,google/agi,Qining/gapid,google/agi