vitess-gh/go
Harshit Gangal 29c1e66592
srvtopo pflags migration (#11341)
* migrate to pflags in srvtopo

Signed-off-by: Harshit Gangal <harshit@planetscale.com>

* updated help output expectation

Signed-off-by: Harshit Gangal <harshit@planetscale.com>

Signed-off-by: Harshit Gangal <harshit@planetscale.com>
2022-09-24 19:07:14 +05:30
..
acl Run latest gofmt on everything & address linter warnings (#11008) 2022-08-16 13:53:42 -07:00
bucketpool
bytes2
cache Run latest gofmt on everything & address linter warnings (#11008) 2022-08-16 13:53:42 -07:00
cmd [vtctlclient] Migrate to pflag (#11342) 2022-09-23 12:36:41 -04:00
event
exit
fileutil
flags/endtoend srvtopo pflags migration (#11341) 2022-09-24 19:07:14 +05:30
flagutil [cli] [tabletserver/tabletenv] Migrate tabletenv flags to pflags (#11109) 2022-09-08 14:18:44 +02:00
hack
history
internal/flag [cli] [servenv] Migrate miscellaneous flags to `pflag` (#11186) 2022-09-08 06:37:15 -04:00
ioutil2
json2
jsonutil
mathstats
mysql Partial Movetables: allow moving a table one shard at a time (#9987) 2022-09-23 12:15:12 +02:00
netutil Run latest gofmt on everything & address linter warnings (#11008) 2022-08-16 13:53:42 -07:00
pools generate settings plan in tablet with query and reset setting query (#11181) 2022-09-13 12:21:39 +05:30
protoutil
race
ratelimiter
sqlescape
sqltypes Run latest gofmt on everything & address linter warnings (#11008) 2022-08-16 13:53:42 -07:00
stats [cli] [stats] Migrate stats/opentsdb + stats/statsd flags to pflag (#11105) 2022-08-26 21:00:00 -04:00
streamlog [cli] [tabletserver/streamlog] Migrate streamlog flags to pflags (#11125) 2022-08-31 22:01:33 +02:00
sync2
tb
test Partial Movetables: allow moving a table one shard at a time (#9987) 2022-09-23 12:15:12 +02:00
testfiles Run latest gofmt on everything & address linter warnings (#11008) 2022-08-16 13:53:42 -07:00
textutil
timer
tools [cli] Misc pflag binary migrations (#11307) 2022-09-21 20:22:06 -04:00
trace [trace] Migrate `go/trace` to use `pflag` for flag definitions (#11028) 2022-08-17 13:40:04 -07:00
vt srvtopo pflags migration (#11341) 2022-09-24 19:07:14 +05:30
vtbench
yaml2
zk/zkctl
README.md

README.md

This directory contains all the Go code for Vitess.

Most of the packages at the top level are general-purpose and are suitable for use outside Vitess. Packages that are specific to Vitess are in the vt subdirectory. Binaries are in the cmd subdirectory.

Please see GoDoc for a listing of the packages and their purposes.

vt/proto contains the compiled protos for go, one per each directory. When importing these protos (for instance XXX.proto), we rename them on import to XXXpb. For instance:

import (
    topodatapb "vitess.io/vitess/go/vt/proto/topodata"
)