go: only listen to struct tags if there are any
go: support struct tags on encoding