12 lines
562 B
Go
12 lines
562 B
Go
package organization
|
|
|
|
// Organization holds descriptive data about a peer's organization.
|
|
// It is optional — a peer without an organization has a nil Organization field.
|
|
type Organization struct {
|
|
Name string `json:"name,omitempty" bson:"name,omitempty"`
|
|
Description string `json:"description,omitempty" bson:"description,omitempty"`
|
|
Website string `json:"website,omitempty" bson:"website,omitempty"`
|
|
Sector string `json:"sector,omitempty" bson:"sector,omitempty"`
|
|
Country string `json:"country,omitempty" bson:"country,omitempty"`
|
|
}
|