Skip to content

Commit ba61f93

Browse files
author
Diwaker Gupta
committed
GoDoc improvements.
1 parent f7ae1a9 commit ba61f93

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

generator/go_client.stoneg.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ def _generate_client(self, namespace):
2626
with self.output_to_relative_path(file_name):
2727
self.emit_raw(HEADER)
2828
self.emit()
29-
generate_doc(self, namespace)
3029
self.emit('package %s' % namespace.name)
3130
self.emit()
3231

generator/go_rsrc/sdk.go

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,14 @@ func Version() (string, string) {
4444

4545
// Config contains parameters for configuring the SDK.
4646
type Config struct {
47-
Token string
48-
Verbose bool
47+
// OAuth2 access token
48+
Token string
49+
// Enable verbose logging in SDK
50+
Verbose bool
51+
// Used with APIs that support operations as another user
4952
AsMemberID string
50-
Domain string
53+
// No need to set -- for testing only
54+
Domain string
5155
}
5256

5357
// Context is the base client context used to implement per-namespace clients.

0 commit comments

Comments
 (0)