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
<<<<<<< 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.
For example this:
@ -766,8 +765,6 @@ func main() {
},
}
=======
>>>>>>> master
err := app.Run(os.Args)
if err != nil {
log.Fatal(err)
@ -775,15 +772,12 @@ func main() {
}
```
<<<<<<< HEAD
Will result in help output like:
```
--port value Use a randomized port (default: random)
```
=======
>>>>>>> master
#### Precedence
The precedence for flag value sources is as follows (highest to lowest):
@ -885,7 +879,6 @@ import (
)
func main() {
<<<<<<< HEAD
app := &cli.App{
Commands: []*cli.Command{
{
@ -899,21 +892,6 @@ func main() {
Name: "remove",
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:
GOPATH: C:\gopath
GOVERSION: 1.11.x
<<<<<<< HEAD
GO111MODULE: on
GOPROXY: https://proxy.golang.org
=======
>>>>>>> master
install:
- set PATH=%GOPATH%\bin;C:\go\bin;%PATH%
- go version
- go env
<<<<<<< HEAD
- go get github.com/urfave/gfmrun/cmd/gfmrun
- go mod vendor
=======
- go get github.com/urfave/gfmrun/...
- go get -v -t ./...
>>>>>>> master
build_script:
- go run build.go vet