Skip to content

Commit

Permalink
chore: remove unused setter
Browse files Browse the repository at this point in the history
  • Loading branch information
sranka committed Nov 28, 2023
1 parent ccdad29 commit 1342ca6
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions api/write/point.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,12 +84,6 @@ func (m *Point) Name() string {
return m.measurement
}

// Name returns the name of measurement of a point.
func (m *Point) SetName(name string) *Point {
m.measurement = name
return m
}

// NewPointWithMeasurement creates a empty Point
// Use AddTag and AddField to fill point with data
func NewPointWithMeasurement(measurement string) *Point {
Expand Down

0 comments on commit 1342ca6

Please sign in to comment.