File tree Expand file tree Collapse file tree 2 files changed +0
-14
lines changed
Expand file tree Collapse file tree 2 files changed +0
-14
lines changed Original file line number Diff line number Diff line change @@ -353,14 +353,6 @@ func (pr *Reader) Resume() error {
353353 return nil
354354}
355355
356- // IsClosed returns true if the error occurred because
357- // a Reader was closed.
358- //
359- // Deprecated: use errors.Is(err, ErrClosed) instead.
360- func IsClosed (err error ) bool {
361- return errors .Is (err , ErrClosed )
362- }
363-
364356type unknownEventError struct {
365357 eventType uint32
366358}
Original file line number Diff line number Diff line change @@ -103,12 +103,6 @@ const (
103103 maxMapType
104104)
105105
106- // Deprecated: StructOpts was a typo, use StructOpsMap instead.
107- //
108- // Declared as a variable to prevent stringer from picking it up
109- // as an enum value.
110- var StructOpts MapType = StructOpsMap
111-
112106// hasPerCPUValue returns true if the Map stores a value per CPU.
113107func (mt MapType ) hasPerCPUValue () bool {
114108 return mt == PerCPUHash || mt == PerCPUArray || mt == LRUCPUHash || mt == PerCPUCGroupStorage
You can’t perform that action at this time.
0 commit comments