We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 10422e8 commit a6ac615Copy full SHA for a6ac615
pkg/cmd/repo/fork/fork.go
@@ -26,7 +26,6 @@ type ForkOptions struct {
26
IO *iostreams.IOStreams
27
BaseRepo func() (ghrepo.Interface, error)
28
Remotes func() (context.Remotes, error)
29
- Since func(t time.Time) time.Duration
30
31
Repository string
32
Clone bool
@@ -35,7 +34,6 @@ type ForkOptions struct {
35
34
PromptRemote bool
36
}
37
38
-// TODO decide if this should be injected via a factory.
39
var Since = func(t time.Time) time.Duration {
40
return time.Since(t)
41
0 commit comments