refactor(training): use golang style of naming (do not repeat pacakge name in struct/func names)
This commit is contained in:
parent
e0f401f0a9
commit
c3795dba6a
12 changed files with 232 additions and 232 deletions
|
|
@ -548,7 +548,7 @@ components:
|
|||
TrainingID:
|
||||
type: integer
|
||||
minimum: 1
|
||||
x-go-type: training.TrainingID
|
||||
x-go-type: training.ID
|
||||
x-go-type-import:
|
||||
path: gitlab.mareshq.com/hq/yggdrasil/pkg/training
|
||||
|
||||
|
|
@ -654,7 +654,7 @@ components:
|
|||
TrainingDateID:
|
||||
type: integer
|
||||
minimum: 1
|
||||
x-go-type: training.TrainingDateID
|
||||
x-go-type: training.DateID
|
||||
x-go-type-import:
|
||||
path: gitlab.mareshq.com/hq/yggdrasil/pkg/training
|
||||
|
||||
|
|
@ -707,7 +707,7 @@ components:
|
|||
TrainingDateAttendeeID:
|
||||
type: integer
|
||||
minimum: 1
|
||||
x-go-type: training.TrainingDateAttendeeID
|
||||
x-go-type: training.AttendeeID
|
||||
x-go-type-import:
|
||||
path: gitlab.mareshq.com/hq/yggdrasil/pkg/training
|
||||
|
||||
|
|
|
|||
Reference in a new issue