change: update models

This commit is contained in:
debugtalk
2021-12-24 18:44:54 +08:00
parent 5fc748e7fc
commit 54f9364765
4 changed files with 19 additions and 19 deletions

View File

@@ -69,16 +69,16 @@ const (
stepTypeRendezvous stepType = "rendezvous"
)
type TransactionType string
type transactionType string
const (
TransactionStart TransactionType = "start"
TransactionEnd TransactionType = "end"
transactionStart transactionType = "start"
transactionEnd transactionType = "end"
)
type Transaction struct {
Name string `json:"name" yaml:"name"`
Type TransactionType `json:"type" yaml:"type"`
Type transactionType `json:"type" yaml:"type"`
}
type Rendezvous struct {
Name string `json:"name" yaml:"name"` // required