API defines the interface for Gmail operations. This interface enables mocking for tests without hitting the real API.
| 44 | // API defines the interface for Gmail operations. |
| 45 | // This interface enables mocking for tests without hitting the real API. |
| 46 | type API interface { |
| 47 | AccountReader |
| 48 | MessageReader |
| 49 | MessageDeleter |
| 50 | |
| 51 | // Close releases any resources held by the client. |
| 52 | Close() error |
| 53 | } |
| 54 | |
| 55 | // Profile represents a Gmail user profile. |
| 56 | type Profile struct { |
no outgoing calls
no test coverage detected