fix: Use multi-line
Signed-off-by: Tim Hårek Andreassen <tim@harek.no>
This commit is contained in:
parent
019ec38fc1
commit
a8689a100b
1 changed files with 5 additions and 1 deletions
|
@ -56,7 +56,11 @@ func now(cmd *cobra.Command, args []string) {
|
|||
}
|
||||
|
||||
fmt.Printf(
|
||||
`%s %s: Temperature: %.1f °C Rain: %.1f mm Wind: %.1f m/s from %s `,
|
||||
`%s %s:
|
||||
Temperature: %.1f °C
|
||||
Rain: %.1f mm
|
||||
Wind: %.1f m/s from %s
|
||||
`,
|
||||
n.Location,
|
||||
itemTime.Format("Monday 2 Jan 15:04"),
|
||||
n.Temperature,
|
||||
|
|
Loading…
Reference in a new issue