_id
stringlengths
2
7
text
stringlengths
6
2.61k
title
stringclasses
1 value
c181200
// NewOutgoingUnbanChatMember creates a request to unban a member of a // group chat or channel.
c181201
// NewOutgoingCallbackQueryResponse creates a response to a callback query.
c181202
// NewInlineQueryAnswer creates a new inline query answer.
c181203
// Type determines the type of the message. // Note that, for all these types, messages can still be replies or // forwarded.
c181204
// Type returns the type of the update.
c181205
// MarshalJSON marshals the recipient to JSON.
c181206
// querystring implements querystringer to represent the outgoing certificate // file.
c181207
// getBaseQueryString gets a Querystring representing this message.
c181208
// getMessageBaseQueryString gets a Querystring representing this message.
c181209
// querystring implements querystringer to represent the audio file.
c181210
// querystring implements querystringer to represent the photo.
c181211
// querystring implements querystringer to represent the request.
c181212
// querystring implements querystringer to represent the outgoing video // file.
c181213
// querystring implements querystringer to represent the outgoing voice // note.
c181214
// NewInlineQueryResultArticle returns a new InlineQueryResultArticle with // all mandatory fields set.
c181215
// NewInlineQueryResultPhoto returns a new InlineQueryResultPhoto with all // mandatory fields set.
c181216
// NewInlineQueryResultGif returns a new InlineQueryResultGif with all // mandatory fields set.
c181217
// NewInlineQueryResultMpeg4Gif returns a new InlineQueryResultMpeg4Gif // with all mandatory fields set.
c181218
// NewInlineQueryResultVideo returns a new InlineQueryResultVideo with all // mandatory fields set.
c181219
// Send sends the request. // On success, the photos are returned as a UserProfilePhotosResponse.
c181220
// Send sends the chat action. // On success, nil is returned.
c181221
// Send sends the inline query answer. // On success, nil is returned.
c181222
// Send sends the kick request.
c181223
// Send sends the unban request.
c181224
// Send sends the callback response.
c181225
// NewAPIClient creates a new API client. Requires a userAgent string describing your application. // optionally a custom http.Client to allow for advanced features such as caching.
c181226
// BeforeInsert sets current time to CreatedAt and UpdatedAt field. // It always returns nil.
c181227
// columnName returns the column name that added the table name with quoted if needed.
c181228
// New returns a new DB. // If any error occurs, it returns nil and error.
c181229
// From returns a "FROM" statement. // A table name will be determined from name of struct of arg. // If arg argument is not struct type, it panics.
c181230
// Where returns a new Condition of "WHERE" clause.
c181231
// OrderBy returns a new Condition of "ORDER BY" clause.
c181232
// Limit returns a new Condition of "LIMIT" clause.
c181233
// Offset returns a new Condition of "OFFSET" clause.
c181234
// Join returns a new JoinCondition of "JOIN" clause.
c181235
// Count returns "COUNT" function.
c181236
// Update updates the one record. // The obj must be struct, and must have field that specified "pk" struct tag. // Update will try to update record which searched by value of primary key in obj. // Update returns the number of rows affected by an update.
c181237
// Delete deletes the records from database table. // The obj must be pointer to struct or slice of struct, and must have field that specified "pk" struct tag. // Delete will try to delete record which searched by value of primary key in obj. // Delete returns teh number of rows affected by a delete.
c181238
// Commit commits the transaction. // If Begin still not called, or Commit or Rollback already called, Commit returns ErrTxDone.
c181239
// Quote returns a quoted s. // It is for a column name, not a value.
c181240
// SetLogOutput sets output destination for logging. // If w is nil, it unsets output of logging.
c181241
// selectToSlice returns a slice value fetched from rows.
c181242
// selectToValue returns a single value fetched from rows.
c181243
// fieldIndexByName returns the nested field corresponding to the index sequence.
c181244
// columns returns the comma-separated column name with quoted.
c181245
// tagsFromField returns a slice of option strings.
c181246
// hasSkipTag returns whether the struct field has the "-" tag.
c181247
// hasPKTag returns whether the struct field has the "pk" tag.
c181248
// isAutoIncrementable returns whether the struct field is integer.
c181249
// collectFieldIndexes returns the indexes of field which doesn't have skip tag and pk tag.
c181250
// findPKIndex returns the nested field corresponding to the index sequence of field of primary key.
c181251
// sizeFromTag returns a size from tag. // If "size" tag specified to struct field, it will converted to uint64 and returns it. // If it doesn't specify, it returns 0. // If value of "size" tag cannot convert to uint64, it returns 0 and error.
c181252
// columnFromTag returns the column name. // If "column" tag specified to struct field, returns it. // Otherwise, it returns snake-cased field name as column name.
c181253
// defaultFromTag returns a "DEFAULT ..." keyword. // If "default" tag specified to struct field, it use as the default value. // If it doesn't specify, it returns empty string.
c181254
// Where adds "WHERE" clause to the Condition and returns it for method chain.
c181255
// And adds "AND" operator to the Condition and returns it for method chain.
c181256
// Or adds "OR" operator to the Condition and returns it for method chain.
c181257
// Like adds "LIKE" clause to the Condition and returns it for method chain.
c181258
// Between adds "BETWEEN ... AND ..." clause to the Condition and returns it for method chain.
c181259
// OrderBy adds "ORDER BY" clause to the Condition and returns it for method chain.
c181260
// Limit adds "LIMIT" clause to the Condition and returns it for method chain.
c181261
// Offset adds "OFFSET" clause to the Condition and returns it for method chain.
c181262
// SetFormat sets the format for logging.
c181263
// Print outputs query log using format template. // All arguments will be used to formatting.
c181264
// Print is a dummy method.
c181265
// Quote returns a quoted s for a column name.
c181266
// SQLType returns the SQL type of the v for PostgreSQL.
c181267
// New archive // If the exentions of the target file is .zip, the archive will be in the zip // format, otherwise, it will be a tar.gz archive.
c181268
// Disconnect destroys the state for a particular host instance. // // Call this function to disconnect the host. After you call this function the // Host object is no longer valid and you should not longer use it. // Similarly, you should not use any other object instances obtained from the // Host object while it was...
c181269
// nextNetworkAdapterID returns the next available ethernet ID, reusing ids if // the ethernet adapter has "present" equal to "FALSE"
c181270
// totalNetworkAdapters returns the total number of network adapters in the VMX file.
c181271
// RemoveAllNetworkAdapters deletes all network adapters from a VM.
c181272
// RemoveNetworkAdapter deletes network adapter from VMX file that matches the ID in "adapter.Id".
c181273
// NetworkAdapters lists current network adapters attached to the virtual // machine.
c181274
// NewArchive uses 7z to extract a list of files in .7z archive
c181275
// GetFileReader returns a reader for reading a given file
c181276
// ExtractToWriter writes the content of a given file inside the archive to dst
c181277
// ExtractToFile extracts a given file from the archive to a file on disk
c181278
// SharedFoldersParentDir returns the parent dir for share folders in the Guest.
c181279
// Name returns user defined name for the snapshot.
c181280
// Description returns user defined description for the snapshot.
c181281
// cleanupSnapshot cleans up snapshot internal C handle.
c181282
// BusTypeFromID gets BusType from device ID.
c181283
// Read reads VMX file from disk and unmarshals it
c181284
// Write marshals and writes VMX file to disk
c181285
// NewVirtualMachine creates a new VM instance.
c181286
// Vcpus returns number of virtual CPUs configured for the virtual machine.
c181287
// VmxPath returns path to the virtual machine configuration file.
c181288
// MemorySize returns memory size of the virtual machine.
c181289
// ReadOnly tells whether or not the VM is read-only.
c181290
// InVMTeam returns whether the virtual machine is a member of a team.
c181291
// PowerState returns power state of the virtual machine.
c181292
// ToolsState returns state of the VMware Tools suite in the guest.
c181293
// IsRunning returns whether the virtual machine is running.
c181294
// GuestOS returns the guest os.
c181295
// cleanupVM cleans up VM VIX handle.
c181296
// updateVMX updates VMX file for the VM.
c181297
// SetMemorySize sets memory size in megabytes. VM has to be powered off in order to change this parameter.
c181298
// SetNumberVcpus sets number of virtual cpus assigned to this machine. VM has to be powered off in order to change this parameter.
c181299
// SetDisplayName sets virtual machine name.