You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
336 B
16 lines
336 B
package quartermaster
|
|
|
|
type Group struct {
|
|
ID int `json:"id"`
|
|
Name string `json:"name"`
|
|
Description string `json:"description"`
|
|
}
|
|
|
|
type GroupService interface {
|
|
Group(int) (*Group, error)
|
|
AddGroup(*Group) (*Group, error)
|
|
UpdateGroup(*Group) error
|
|
DeleteGroup(*Group) error
|
|
GetItems(*Group) ([]*Item, error)
|
|
}
|