mirror of
https://github.com/dokku/dokku.git
synced 2026-02-24 04:00:36 +01:00
docs: add godoc
This commit is contained in:
@@ -24,13 +24,15 @@ var (
|
||||
}
|
||||
)
|
||||
|
||||
type FormationSlice []*Formation
|
||||
|
||||
// Formation contains scaling information for a given process type
|
||||
type Formation struct {
|
||||
ProcessType string `json:"process_type"`
|
||||
Quantity int `json:"quantity"`
|
||||
}
|
||||
|
||||
// FormationSlice contains a slice of Formations that can be sorted
|
||||
type FormationSlice []*Formation
|
||||
|
||||
func (d FormationSlice) Len() int {
|
||||
return len(d)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user