code: func yaml_emitter_set_output_writer(emitter *yaml_emitter_t, w io.Writer) {
  	if emitter.write_handler != nil {
  		panic("must set the output target only once")
  	}
  	emitter.write_handler = yaml_writer_write_handler
  	emitter.output_writer = w
  }
docs: // Set a file output.