-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmode.go
More file actions
24 lines (22 loc) · 808 Bytes
/
mode.go
File metadata and controls
24 lines (22 loc) · 808 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
package fptf
type Mode string
// As discussed in #4, we decided to have two fields mode and subMode.
// The following list shows all possible values for a mode property.
// For consumers to be able to use mode meaningfully, we will keep
// this list very short.
//
// In order to convey more details, we will add the subMode field in
// the future. It will differentiate means of transport in a more
// fine-grained way, in order to enable consumers to provide more
// context and a better service.
const (
ModeTrain = Mode("train")
ModeBus = Mode("bus")
ModeWatercraft = Mode("watercraft")
ModeTaxi = Mode("taxi")
ModeGondola = Mode("gondola")
ModeAircraft = Mode("aircraft")
ModeCar = Mode("car")
ModeBicycle = Mode("bicycle")
ModeWalking = Mode("walking")
)