fixed struct alignment && refactor linter
This commit is contained in:
@@ -15,6 +15,6 @@ func (p *noopProfiler) String() string {
|
||||
}
|
||||
|
||||
// NewProfiler returns new noop profiler
|
||||
func NewProfiler(opts ...Option) Profiler {
|
||||
func NewProfiler(_ ...Option) Profiler {
|
||||
return &noopProfiler{}
|
||||
}
|
||||
|
||||
@@ -12,7 +12,7 @@ type Profiler interface {
|
||||
}
|
||||
|
||||
// DefaultProfiler holds the default profiler
|
||||
var DefaultProfiler Profiler = NewProfiler()
|
||||
var DefaultProfiler = NewProfiler()
|
||||
|
||||
// Options holds the options for profiler
|
||||
type Options struct {
|
||||
|
||||
Reference in New Issue
Block a user