Skip to content

Commit

Permalink
polishing
Browse files Browse the repository at this point in the history
  • Loading branch information
sanzmauro committed Oct 3, 2024
1 parent c19d316 commit 098c0ea
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions dtos/membership.go
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
package dtos

// Item represents a single item with a name.
type Item struct {
type MemItem struct {
Name string `json:"n"`
}

// Member represents a member with keys and a change number.
type Member struct {
Keys []Item `json:"k"`
ChangeNumber int64 `json:"cn,omitempty"`
Keys []MemItem `json:"k"`
ChangeNumber int64 `json:"cn,omitempty"`
}

// MembershipsDTO groups my segments and large segments.
Expand Down

0 comments on commit 098c0ea

Please sign in to comment.