Remove final conflicts

This commit is contained in:
Ajitem Sahasrabuddhe 2019-09-18 09:56:38 +05:30
parent 7d46b6d7f1
commit 8043478cfd
No known key found for this signature in database
GPG Key ID: 5B0EE10DAA76876C
2 changed files with 1 additions and 31 deletions

View File

@ -735,7 +735,6 @@ func main() {
#### Default Values for help output #### Default Values for help output
<<<<<<< HEAD
Sometimes it's useful to specify a flag's default help-text value within the flag declaration. This can be useful if the default value for a flag is a computed value. The default value can be set via the `DefaultText` struct field. Sometimes it's useful to specify a flag's default help-text value within the flag declaration. This can be useful if the default value for a flag is a computed value. The default value can be set via the `DefaultText` struct field.
For example this: For example this:
@ -766,8 +765,6 @@ func main() {
}, },
} }
=======
>>>>>>> master
err := app.Run(os.Args) err := app.Run(os.Args)
if err != nil { if err != nil {
log.Fatal(err) log.Fatal(err)
@ -775,15 +772,12 @@ func main() {
} }
``` ```
<<<<<<< HEAD
Will result in help output like: Will result in help output like:
``` ```
--port value Use a randomized port (default: random) --port value Use a randomized port (default: random)
``` ```
=======
>>>>>>> master
#### Precedence #### Precedence
The precedence for flag value sources is as follows (highest to lowest): The precedence for flag value sources is as follows (highest to lowest):
@ -885,7 +879,6 @@ import (
) )
func main() { func main() {
<<<<<<< HEAD
app := &cli.App{ app := &cli.App{
Commands: []*cli.Command{ Commands: []*cli.Command{
{ {
@ -899,21 +892,6 @@ func main() {
Name: "remove", Name: "remove",
Category: "template", Category: "template",
}, },
=======
app := cli.NewApp()
app.Commands = []cli.Command{
{
Name: "noop",
},
{
Name: "add",
Category: "Template actions",
},
{
Name: "remove",
Category: "Template actions",
>>>>>>> master
}, },
} }

View File

@ -12,23 +12,15 @@ cache:
environment: environment:
GOPATH: C:\gopath GOPATH: C:\gopath
GOVERSION: 1.11.x GOVERSION: 1.11.x
<<<<<<< HEAD
GO111MODULE: on GO111MODULE: on
GOPROXY: https://proxy.golang.org GOPROXY: https://proxy.golang.org
=======
>>>>>>> master
install: install:
- set PATH=%GOPATH%\bin;C:\go\bin;%PATH% - set PATH=%GOPATH%\bin;C:\go\bin;%PATH%
- go version - go version
- go env - go env
<<<<<<< HEAD
- go get github.com/urfave/gfmrun/cmd/gfmrun - go get github.com/urfave/gfmrun/cmd/gfmrun
- go mod vendor - go mod vendor
=======
- go get github.com/urfave/gfmrun/...
- go get -v -t ./...
>>>>>>> master
build_script: build_script:
- go run build.go vet - go run build.go vet