이름 변경
This commit is contained in:
@ -165,7 +165,7 @@ type Maintenance struct {
|
||||
link string
|
||||
}
|
||||
|
||||
type division struct {
|
||||
type Division struct {
|
||||
Url string // 요것은 클라이언트 빌드하고 나서 json:"-"으로 변경하자. 클라이언트에 직접 내려보내지 않음
|
||||
Priority int
|
||||
State DivisionStateName
|
||||
@ -182,7 +182,7 @@ type ServiceDescriptionSummary struct {
|
||||
|
||||
type serviceDescription struct {
|
||||
ServiceDescriptionSummary `bson:",inline"`
|
||||
Divisions map[string]*division `bson:"divisions"`
|
||||
Divisions map[string]*Division `bson:"divisions"`
|
||||
ServerApiTokens []primitive.ObjectID `bson:"api_tokens"`
|
||||
ApiUsers map[string][]string `bson:"api_users"`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user