diff options
author | Luke Shumaker <lukeshu@lukeshu.com> | 2023-03-17 18:38:14 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@lukeshu.com> | 2023-03-17 18:38:14 -0400 |
commit | 0f85e72d1331b49b52925d6cc5ad083a0376104c (patch) | |
tree | 9ba66e893d6f66096f6b06284d09c8eb3e50facc /lib/profile | |
parent | c0f33186aa7a8903c5e7406024f13fad48cd14e3 (diff) | |
parent | 1ea26f04701fa66e36b058f3efb3a6c7059cdc5c (diff) |
Merge branch 'lukeshu/lint'
Diffstat (limited to 'lib/profile')
-rw-r--r-- | lib/profile/cobra.go | 2 | ||||
-rw-r--r-- | lib/profile/profile.go | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/lib/profile/cobra.go b/lib/profile/cobra.go index 3094015..9bc55dd 100644 --- a/lib/profile/cobra.go +++ b/lib/profile/cobra.go @@ -67,7 +67,7 @@ func (fv *flagValue) Set(filename string) error { } // Type implements pflag.Value. -func (fv *flagValue) Type() string { return "filename" } +func (*flagValue) Type() string { return "filename" } func pStart(name string) startFunc { return func(w io.Writer) (StopFunc, error) { diff --git a/lib/profile/profile.go b/lib/profile/profile.go index 27c7e61..0910e5c 100644 --- a/lib/profile/profile.go +++ b/lib/profile/profile.go @@ -2,6 +2,8 @@ // // SPDX-License-Identifier: GPL-2.0-or-later +// Package profile implements a uniform interface for getting +// profiling information from the Go runtime. package profile import ( |