Validate validates the edit
()
| 213 | |
| 214 | // Validate validates the edit |
| 215 | func (e *Edit) Validate() error { |
| 216 | _, err := e.client.service.Edits.Validate(e.client.packageName, e.editID).Context(e.ctx).Do() |
| 217 | if err != nil { |
| 218 | return fmt.Errorf("edit validation failed: %w", err) |
| 219 | } |
| 220 | return nil |
| 221 | } |
| 222 | |
| 223 | // Commit commits the edit |
| 224 | func (e *Edit) Commit() error { |