mirror of
https://github.com/valitydev/thrift.git
synced 2024-11-07 10:48:51 +00:00
THRIFT-2290 anyfile.go:10: imported and not used: "math"
Patch: Jens Geyer
This commit is contained in:
parent
d9c80e2dae
commit
1406c9adaf
@ -1856,6 +1856,7 @@ void t_go_generator::generate_service_remote(t_service* tservice)
|
|||||||
indent() << "var parsedUrl url.URL" << endl <<
|
indent() << "var parsedUrl url.URL" << endl <<
|
||||||
indent() << "var trans thrift.TTransport" << endl <<
|
indent() << "var trans thrift.TTransport" << endl <<
|
||||||
indent() << "_ = strconv.Atoi" << endl <<
|
indent() << "_ = strconv.Atoi" << endl <<
|
||||||
|
indent() << "_ = math.Abs" << endl <<
|
||||||
indent() << "flag.Usage = Usage" << endl <<
|
indent() << "flag.Usage = Usage" << endl <<
|
||||||
indent() << "flag.StringVar(&host, \"h\", \"localhost\", \"Specify host and port\")" << endl <<
|
indent() << "flag.StringVar(&host, \"h\", \"localhost\", \"Specify host and port\")" << endl <<
|
||||||
indent() << "flag.IntVar(&port, \"p\", 9090, \"Specify port\")" << endl <<
|
indent() << "flag.IntVar(&port, \"p\", 9090, \"Specify port\")" << endl <<
|
||||||
|
Loading…
Reference in New Issue
Block a user