body-fat.go (535B)
1 package help 2 3 import "strings" 4 5 const bodyFat = `The body-fat command sets the body fat percentage on an entry. 6 7 It accepts a single argument, a number which represents the body fat 8 percentage. The number may have a decimal component. 9 10 If the date used is the current date, your user data will also be 11 updated to use the body fat percentage. This will default future entries 12 to the inputted percentage. 13 14 Example: 15 dqs body-fat 24.25 16 ` 17 18 func BodyFat() string { 19 var str strings.Builder 20 21 str.WriteString(bodyFat) 22 23 return str.String() 24 }