Skip to content
This repository has been archived by the owner on Jun 25, 2019. It is now read-only.

Commit

Permalink
Minor cleanup (#57)
Browse files Browse the repository at this point in the history
  • Loading branch information
andig authored Jul 26, 2018
1 parent da55048 commit f443181
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 22 deletions.
3 changes: 1 addition & 2 deletions datagram.go
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ type QuerySnip struct {
Transform RTUTransform `json:"-"`
}

// MarshalJSON converts QuerySnip to json, replaceing ReadTimestamp with unix tiem representation
// MarshalJSON converts QuerySnip to json, replacing ReadTimestamp with unix time representation
func (q *QuerySnip) MarshalJSON() ([]byte, error) {
return json.Marshal(struct {
DeviceId uint8
Expand Down Expand Up @@ -385,7 +385,6 @@ func (r *Readings) MergeSnip(q QuerySnip) {
default:
log.Fatalf("Cannot merge unknown snip type - snip is %+v", q)
}

}

func (q QuerySnip) String() string {
Expand Down
20 changes: 0 additions & 20 deletions textline.go

This file was deleted.

0 comments on commit f443181

Please sign in to comment.