add type checking before sending to go build api