Flowchart (ISO 5807)
Source code
Go
func day(d int) string {
switch d {
case 1:
return "Пн"
case 2:
return "Вт"
default:
return "?"
}
}The editor opens with this code — change it and the chart redraws.
- Language
- Go
- Constructs
- switch + default
- Topic
- Switch / case
- Formats
- Word, Visio, draw.io, PDF, SVG