-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(internal): auto-generate snippets (#3949)
I created a new package to make it easier to run than calling the binary. I included a binary for local development. I needed to install build-base in the Docker image to get gcc, which was needed to Load all packages. I modified gapics.go to replace genproto in every go.mod because the changes need to be visible everywhere to Load every module. I ran the generator locally and it seems to work. I only included one directory in this PR because there are a lot of files. I can upload the rest in this PR after initial review. Updates #3916.
- Loading branch information
Showing
16 changed files
with
802 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,23 @@ | ||
module cloud.google.com/go/internal/gapicgen | ||
|
||
go 1.13 | ||
go 1.16 | ||
|
||
require ( | ||
cloud.google.com/go/internal/gensnippets v0.0.0-00010101000000-000000000000 | ||
github.com/golang/protobuf v1.5.2 // indirect | ||
github.com/google/go-github/v34 v34.0.0 | ||
github.com/kr/text v0.2.0 // indirect | ||
github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e // indirect | ||
github.com/shurcooL/githubv4 v0.0.0-20201206200315-234843c633fa | ||
github.com/shurcooL/graphql v0.0.0-20181231061246-d48a9a75455f // indirect | ||
github.com/stretchr/testify v1.6.1 // indirect | ||
golang.org/x/net v0.0.0-20210316092652-d523dce5a7f4 // indirect | ||
golang.org/x/oauth2 v0.0.0-20210413134643-5e61552d6c78 | ||
golang.org/x/sync v0.0.0-20210220032951-036812b2e83c | ||
golang.org/x/sys v0.0.0-20210403161142-5e06dd20ab57 // indirect | ||
golang.org/x/text v0.3.5 // indirect | ||
google.golang.org/appengine v1.6.7 // indirect | ||
golang.org/x/sys v0.0.0-20210403161142-5e06dd20ab57 | ||
gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f // indirect | ||
gopkg.in/src-d/go-git.v4 v4.13.1 | ||
gopkg.in/yaml.v2 v2.4.0 | ||
) | ||
|
||
replace cloud.google.com/go/internal/gensnippets => ../gensnippets | ||
|
||
replace cloud.google.com/go/internal/godocfx => ../godocfx |
Oops, something went wrong.