X Tutup
package cmdutil import ( "net/http" "github.com/cli/cli/context" "github.com/cli/cli/internal/config" "github.com/cli/cli/internal/ghrepo" "github.com/cli/cli/pkg/extensions" "github.com/cli/cli/pkg/iostreams" ) type Browser interface { Browse(string) error } type Factory struct { IOStreams *iostreams.IOStreams Browser Browser HttpClient func() (*http.Client, error) BaseRepo func() (ghrepo.Interface, error) Remotes func() (context.Remotes, error) Config func() (config.Config, error) Branch func() (string, error) ExtensionManager extensions.ExtensionManager // Executable is the path to the currently invoked gh binary Executable string }
X Tutup