
Security News
TypeScript is Porting Its Compiler to Go for 10x Faster Builds
TypeScript is porting its compiler to Go, delivering 10x faster builds, lower memory usage, and improved editor performance for a smoother developer experience.
github.com/philpearl/google-cloud-go/bigtable
This is the source for cbt
.
To build the tool locally, run this command in this directory:
go build .
That will build the cbt binary in that directory. To run commands with the cbt
you built (rather
than the official one) invoke it with the directory prefix like this:
./cbt help
This tool gets documented on the Go packages website as well as the cloud site.
This command will generate a file with a package description which gets used for the pkg.go.dev. You should update this after any changes to the usage or descriptions of the commands. To generate the file, run:
go generate
The output will be in cbtdoc.go.
You may want to verify this looks good locally. To do that, you will need to generate the doc into
your GOPATH version of the directory, then run godoc
and you can view the local version
go run . -o $(go env GOPATH)/src/cloud.google.com/go/bigtable/cmd/cbt/cbtdoc.go doc
godoc
The Cloud documentation uses the cbt mddoc
command to generate part of the cbt Reference page.
To preview what it will look like upon generation, you can generate it into a file with the command:
go run . -o doc.md mddoc
This will create a file doc.md. You don't need to check it into this repository, so delete it once you are happy with the output.
The configuration for the options (-project
, -instance
, and -creds
) is in cbtconfig.go.
So change that file if you need to modify those.
FAQs
Unknown package
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
TypeScript is porting its compiler to Go, delivering 10x faster builds, lower memory usage, and improved editor performance for a smoother developer experience.
Research
Security News
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
Security News
Socket CEO Feross Aboukhadijeh discusses the open web, open source security, and how Socket tackles software supply chain attacks on The Pair Program podcast.