Skip to content

Commit 1342ca6

Browse files
committed
chore: remove unused setter
1 parent ccdad29 commit 1342ca6

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

api/write/point.go

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -84,12 +84,6 @@ func (m *Point) Name() string {
8484
return m.measurement
8585
}
8686

87-
// Name returns the name of measurement of a point.
88-
func (m *Point) SetName(name string) *Point {
89-
m.measurement = name
90-
return m
91-
}
92-
9387
// NewPointWithMeasurement creates a empty Point
9488
// Use AddTag and AddField to fill point with data
9589
func NewPointWithMeasurement(measurement string) *Point {

0 commit comments

Comments
 (0)