From a06a3e122518eb601db92ba88e44bd3a60676a7c Mon Sep 17 00:00:00 2001 From: Jordan Liggitt Date: Wed, 2 Mar 2022 20:42:31 -0500 Subject: [PATCH] Remove reference to standalone cobra cli --- non-std-lib/README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/non-std-lib/README.md b/non-std-lib/README.md index e3f03c0..3705aff 100644 --- a/non-std-lib/README.md +++ b/non-std-lib/README.md @@ -11,12 +11,12 @@ This directory has Golang code examples that contain at least one import that is Golang comes with a builtin tool for downloading and installing packages called `get`. #### Common Usage: `go get [packages]` -- `go get github.com/spf13/cobra/cobra` +- `go get github.com/spf13/cobra` - `go get golang.org/x/net/html` `go get`also allows you to pass flags such as `-u` for updating a package that is already installed on your computer. -- `go get -u github.com/spf13/cobra/cobra` +- `go get -u github.com/spf13/cobra` - `go get -u golang.org/x/net/html` For more information about to use `go get` and the other flags that may be used, see the [Golang Documentation](https://golang.org/cmd/go/#hdr-Download_and_install_packages_and_dependencies). @@ -33,16 +33,16 @@ The supported version control systems are: Mercurial .hg Subversion .svn -When using `go get` to retrieve a package such as `github.com/spf13/cobra/cobra`, go get will make a http(s) request for that package. +When using `go get` to retrieve a package such as `github.com/spf13/cobra`, go get will make a http(s) request for that package. Given that different vcs have different implementations, go get must know which vcs it is dealing with before it can successfully download the package. -1. If the path name has vcs extension, such as `github.com/spf13/cobra/cobra.git`, then go get knows to download the package via git. +1. If the path name has vcs extension, such as `github.com/spf13/cobra.git`, then go get knows to download the package via git. -2. If the path name does not have a vcs extension, such as `github.com/spf13/cobra/cobra`, then the html page must have a meta of the following form that indicates which vcs was used. +2. If the path name does not have a vcs extension, such as `github.com/spf13/cobra`, then the html page must have a meta of the following form that indicates which vcs was used. `` - The meta tag for `github.com/spf13/cobra/cobra` is `` + The meta tag for `github.com/spf13/cobra` is `` For more information on remote import paths, see the [Golang Documentation](https://golang.org/cmd/go/#hdr-Import_path_syntax)