Delete deletes the edit without committing
()
| 231 | |
| 232 | // Delete deletes the edit without committing |
| 233 | func (e *Edit) Delete() error { |
| 234 | err := e.client.service.Edits.Delete(e.client.packageName, e.editID).Context(e.ctx).Do() |
| 235 | if err != nil { |
| 236 | return fmt.Errorf("failed to delete edit: %w", err) |
| 237 | } |
| 238 | return nil |
| 239 | } |
| 240 | |
| 241 | // Close releases resources |
| 242 | func (e *Edit) Close() { |
no test coverage detected