dep ensure for Prometheus deps

This commit is contained in:
Konrad Wojas
2017-10-25 12:18:30 +08:00
committed by Zlatko Čalušić
parent 4cd82b6802
commit ff6270ab62
115 changed files with 7486 additions and 8793 deletions

35
vendor/github.com/spf13/cobra/doc/man_examples_test.go generated vendored Normal file
View File

@@ -0,0 +1,35 @@
package doc_test
import (
"bytes"
"fmt"
"github.com/spf13/cobra"
"github.com/spf13/cobra/doc"
)
func ExampleGenManTree() {
cmd := &cobra.Command{
Use: "test",
Short: "my test program",
}
header := &doc.GenManHeader{
Title: "MINE",
Section: "3",
}
doc.GenManTree(cmd, header, "/tmp")
}
func ExampleGenMan() {
cmd := &cobra.Command{
Use: "test",
Short: "my test program",
}
header := &doc.GenManHeader{
Title: "MINE",
Section: "3",
}
out := new(bytes.Buffer)
doc.GenMan(cmd, header, out)
fmt.Print(out.String())
}