Skip to content

Commit

Permalink
format documentation better
Browse files Browse the repository at this point in the history
  • Loading branch information
snhilde committed Aug 20, 2020
1 parent 8daeb02 commit 0511595
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions sbload/load.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ type Routine struct {

// New makes a new rountine object. colors is an optional triplet of hex color codes for colorizing the output based on
// these rules:
// 1. Normal color, all load averages are below 1.
// 2. Warning color, one or more load averages is greater than 1, but all are less than 2.
// 3. Error color, one or more load averages is greater than 2.
// 1. Normal color, all load averages are below 1.
// 2. Warning color, one or more load averages is greater than 1, but all are less than 2.
// 3. Error color, one or more load averages is greater than 2.
func New(colors ...[3]string) *Routine {
var r Routine

Expand Down

0 comments on commit 0511595

Please sign in to comment.