Skip to content

Commit 3fabef0

Browse files
authored
feat(internal/gensnippets): initial commit (#3922)
This tool renders all examples in the current directory to standalone files. I confirmed this successfully processes every example in this repo. Once I added a go.mod/go.sum in the generated directory, all of the examples passed go vet. A future change will integrate this tool into our automatic generation pipelines and add region tags.
1 parent 280abdb commit 3fabef0

File tree

3 files changed

+485
-0
lines changed

3 files changed

+485
-0
lines changed

internal/gensnippets/go.mod

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
module cloud.google.com/go/internal/gensnippets
2+
3+
go 1.16
4+
5+
replace cloud.google.com/go/internal/godocfx => ../godocfx
6+
7+
replace cloud.google.com/go => ../..
8+
9+
require (
10+
cloud.google.com/go v0.81.0
11+
cloud.google.com/go/internal/godocfx v0.0.0-00010101000000-000000000000
12+
)

0 commit comments

Comments
 (0)