wkk778 commented on code in PR #162:
URL: https://github.com/apache/iotdb-client-go/pull/162#discussion_r3485149829
##########
client/options.go:
##########
@@ -0,0 +1,28 @@
+package client
+
+import "context"
+
+type Options struct {
+ ctx context.Context
+}
+
+// Option 是 Options 的函数式配置项。
+type Option func(*Options)
+
+// ApplyOptions 将函数式参数合并为最终配置。
Review Comment:
ok
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]