Skip to content

Commit

Permalink
Remove all uses of noCopy
Browse files Browse the repository at this point in the history
It wasn't used consistently and doesn't provide much value over linters.
  • Loading branch information
hansmi committed Nov 22, 2024
1 parent 4e38dee commit e71c6b2
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 15 deletions.
2 changes: 0 additions & 2 deletions descriptor.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
package main

type descriptor struct {
_ noCopy

fieldName string

desc string
Expand Down
2 changes: 0 additions & 2 deletions group.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ package main
import "github.com/hansmi/prometheus-lvm-exporter/lvmreport"

type group struct {
_ noCopy

name lvmreport.GroupName

infoMetricName string
Expand Down
11 changes: 0 additions & 11 deletions nocopy.go

This file was deleted.

0 comments on commit e71c6b2

Please sign in to comment.