code: func (writer *GenericDatumWriter) Write(obj interface{}, enc Encoder) error {
  	return writer.write(obj, enc, writer.schema)
  }
docs: // Write writes a single entry using this GenericDatumWriter according to provided Schema.
  // Accepts a value to write and Encoder to write to.
  // May return an error indicating a write failure.