Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
snhilde committed Aug 23, 2020
1 parent 850cca2 commit c301e3a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion sbtime/time.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ func (r *Routine) Update() (bool, error) {
// Handle error in New.
if r.formatA == "" || r.formatB == "" {
if r.err == nil {
r.err = Errors.New("Missing time format")
r.err = errors.New("Missing time format")
}
return false, r.err
}
Expand Down
2 changes: 1 addition & 1 deletion sbweather/weather.go
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ func getURL(client http.Client, lat string, long string) (string, error) {
type props struct {
// Properties map[string]interface{} `json:"properties"`
Properties struct {
Forecast string `json: "temperature"`
Forecast string `json:"temperature"`
} `json:"properties"`
}

Expand Down

0 comments on commit c301e3a

Please sign in to comment.