Sequence Diagram
A sequence diagram represents participants and the ordered messages exchanged between them over time. In this course, it documents request flows such as placing an order, including database operations, asynchronous event publication, responses, and alternative execution paths.
Minimal example
```mermaid
sequenceDiagram
actor Customer
participant API as Go API
participant DB as MySQL
Customer->>API: Place order
API->>DB: Insert order
DB-->>API: Commit result
API-->>Customer: Return order ID
```Learn this concept
Lesson 8.8 · Mermaid architecture diagramsUsed in exercises
Exercise 8.10 · Project documentation package Exercise 8.14 · Mermaid sequence linterPrerequisite conceptsMermaid Diagram