Remove final conflicts
This commit is contained in:
parent
7d46b6d7f1
commit
8043478cfd
22
README.md
22
README.md
@ -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
|
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user