Add generated file
This PR adds generated files under pkg/client and vendor folder.
This commit is contained in:
62
vendor/golang.org/x/tools/cmd/bundle/testdata/out.golden
generated
vendored
Normal file
62
vendor/golang.org/x/tools/cmd/bundle/testdata/out.golden
generated
vendored
Normal file
@@ -0,0 +1,62 @@
|
||||
// Code generated by golang.org/x/tools/cmd/bundle. DO NOT EDIT.
|
||||
// $ bundle
|
||||
|
||||
// The package doc comment
|
||||
//
|
||||
|
||||
package dest
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
. "fmt"
|
||||
_ "fmt"
|
||||
renamedfmt "fmt"
|
||||
renamedfmt2 "fmt"
|
||||
|
||||
"domain.name/importdecl"
|
||||
)
|
||||
|
||||
// init functions are not renamed
|
||||
func init() { prefixfoo() }
|
||||
|
||||
// Type S.
|
||||
type prefixS struct {
|
||||
prefixt
|
||||
u int
|
||||
} /* multi-line
|
||||
comment
|
||||
*/
|
||||
|
||||
// non-associated comment
|
||||
|
||||
/*
|
||||
non-associated comment2
|
||||
*/
|
||||
|
||||
// Function bar.
|
||||
func prefixbar(s *prefixS) {
|
||||
fmt.Println(s.prefixt, s.u) // comment inside function
|
||||
}
|
||||
|
||||
// file-end comment
|
||||
|
||||
type prefixt int // type1
|
||||
|
||||
// const1
|
||||
const prefixc = 1 // const2
|
||||
|
||||
func prefixfoo() {
|
||||
fmt.Println(importdecl.F())
|
||||
}
|
||||
|
||||
// zinit
|
||||
const (
|
||||
prefixz1 = iota // z1
|
||||
prefixz2 // z2
|
||||
) // zend
|
||||
|
||||
func prefixbaz() {
|
||||
renamedfmt.Println()
|
||||
renamedfmt2.Println()
|
||||
Println()
|
||||
}
|
3
vendor/golang.org/x/tools/cmd/bundle/testdata/src/domain.name/importdecl/p.go
generated
vendored
Normal file
3
vendor/golang.org/x/tools/cmd/bundle/testdata/src/domain.name/importdecl/p.go
generated
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
package importdecl
|
||||
|
||||
func F() int { return 1 }
|
27
vendor/golang.org/x/tools/cmd/bundle/testdata/src/initial/a.go
generated
vendored
Normal file
27
vendor/golang.org/x/tools/cmd/bundle/testdata/src/initial/a.go
generated
vendored
Normal file
@@ -0,0 +1,27 @@
|
||||
package initial
|
||||
|
||||
import "fmt" // this comment should not be visible
|
||||
|
||||
// init functions are not renamed
|
||||
func init() { foo() }
|
||||
|
||||
// Type S.
|
||||
type S struct {
|
||||
t
|
||||
u int
|
||||
} /* multi-line
|
||||
comment
|
||||
*/
|
||||
|
||||
// non-associated comment
|
||||
|
||||
/*
|
||||
non-associated comment2
|
||||
*/
|
||||
|
||||
// Function bar.
|
||||
func bar(s *S) {
|
||||
fmt.Println(s.t, s.u) // comment inside function
|
||||
}
|
||||
|
||||
// file-end comment
|
23
vendor/golang.org/x/tools/cmd/bundle/testdata/src/initial/b.go
generated
vendored
Normal file
23
vendor/golang.org/x/tools/cmd/bundle/testdata/src/initial/b.go
generated
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
// The package doc comment
|
||||
package initial
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
|
||||
"domain.name/importdecl"
|
||||
)
|
||||
|
||||
type t int // type1
|
||||
|
||||
// const1
|
||||
const c = 1 // const2
|
||||
|
||||
func foo() {
|
||||
fmt.Println(importdecl.F())
|
||||
}
|
||||
|
||||
// zinit
|
||||
const (
|
||||
z1 = iota // z1
|
||||
z2 // z2
|
||||
) // zend
|
12
vendor/golang.org/x/tools/cmd/bundle/testdata/src/initial/c.go
generated
vendored
Normal file
12
vendor/golang.org/x/tools/cmd/bundle/testdata/src/initial/c.go
generated
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
package initial
|
||||
|
||||
import _ "fmt"
|
||||
import renamedfmt "fmt"
|
||||
import renamedfmt2 "fmt"
|
||||
import . "fmt"
|
||||
|
||||
func baz() {
|
||||
renamedfmt.Println()
|
||||
renamedfmt2.Println()
|
||||
Println()
|
||||
}
|
Reference in New Issue
Block a user