summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert PajÄ…k <pellared@hotmail.com>2023-05-15 14:33:54 +0200
committerJens Geyer <Jens-G@users.noreply.github.com>2023-05-15 21:52:15 +0200
commit2c927b529761cb7540b226b33ea4ac47b368ce61 (patch)
treed58ed61eccfb77ed593ad19f33a1d9755f31266b
parentb5a8a883a1c5227967093c45a6bc8e36932f2711 (diff)
downloadthrift-2c927b529761cb7540b226b33ea4ac47b368ce61.tar.gz
Fix NewTZlibTransportFactoryWithFactory comment
-rw-r--r--lib/go/thrift/zlib_transport.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/go/thrift/zlib_transport.go b/lib/go/thrift/zlib_transport.go
index 259943a62..cefe1f994 100644
--- a/lib/go/thrift/zlib_transport.go
+++ b/lib/go/thrift/zlib_transport.go
@@ -56,7 +56,7 @@ func NewTZlibTransportFactory(level int) *TZlibTransportFactory {
return &TZlibTransportFactory{level: level, factory: nil}
}
-// NewTZlibTransportFactory constructs a new instance of TZlibTransportFactory
+// NewTZlibTransportFactoryWithFactory constructs a new instance of TZlibTransportFactory
// as a wrapper over existing transport factory
func NewTZlibTransportFactoryWithFactory(level int, factory TTransportFactory) *TZlibTransportFactory {
return &TZlibTransportFactory{level: level, factory: factory}