code: func (t *FpdfTpl) Serialize() ([]byte, error) {
  	b := new(bytes.Buffer)
  	enc := gob.NewEncoder(b)
  	err := enc.Encode(t)
  
  	return b.Bytes(), err
  }
docs: // Serialize turns a template into a byte string for later deserialization