Skip to content

CoboGlobal/cobo-waas2-go-sdk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

66 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Go API client for cobo_waas2

The Cobo Wallet-as-a-Service (WaaS) 2.0 API is the latest version of Cobo's WaaS API offering. It enables you to access Cobo's full suite of crypto wallet technologies with powerful and flexible access controls. By encapsulating complex security protocols and streamlining blockchain interactions, this API allows you to concentrate on your core business activities without worrying about the safety of your assets. The WaaS 2.0 API presents the following key features:

  • A unified API for Cobo's all four wallet types
  • Support for 80+ chains and 3000+ tokens
  • A comprehensive selection of webhook events
  • Flexible usage models for MPC Wallets, including Organization-Controlled Wallets and User-Controlled Wallets
  • Programmatic control of smart contract wallets such as Safe{Wallet} with fine-grained access controls
  • Seamlessly transfer funds across multiple exchanges, including Binance, OKX, Bybit, Deribit, and more

For more information about the WaaS 2.0 API, see Introduction to WaaS 2.0.

Overview

This API client was generated by the OpenAPI Generator project. By using the OpenAPI-spec from a remote server, you can easily generate an API client.

  • API version: v2
  • Package version: 1.21.0
  • Build package: org.openapitools.codegen.languages.GoClientCodegen For more information, please visit https://www.cobo.com/waas

Installation

Install the following dependencies:

go get github.com/stretchr/testify/assert
go get golang.org/x/oauth2
go get golang.org/x/net/context

Put the package under your project folder and add the following in import:

import coboWaas2 "github.com/CoboGlobal/cobo-waas2-go-sdk/cobo_waas2"

To use a proxy, set the environment variable HTTP_PROXY:

os.Setenv("HTTP_PROXY", "http://proxy_name:proxy_port")

Configuration of Server URL

Default configuration comes with Servers field that contains server objects as defined in the OpenAPI specification.

Select Server Configuration

To use the development environment, set ContextEnv to coboWaas2.DevEnv.

ctx := context.WithValue(context.Background(), coboWaas2.ContextEnv, coboWaas2.DevEnv)

To use the production environment, set ContextEnv to waas2.ProdEnv.

ctx := context.WithValue(context.Background(), coboWaas2.ContextEnv, coboWaas2.ProdEnv)

you can also set server URL using context values coboWaas2.ContextServerHost of type string

ctx := context.WithValue(context.Background(), coboWaas2.ContextServerHost, "https://api[.xxxx].cobo.com/v2")

Set Api Signer

ctx = context.WithValue(ctx, coboWaas2.ContextPortalSigner, crypto.Ed25519Signer{
    Secret: "<YOUR_API_PRIV_KEY_IN_HEX>",
})

Documentation for API Endpoints

All URIs are relative to https://api.dev.cobo.com/v2

Class Method HTTP request Description
AddressBooksAPI ListAddressBooks Get /address_books List address book entries
AppWorkflowsAPI CreateApprovalRequest Post /app/workflows/approval_requests Request workflow approval
AppWorkflowsAPI GetApprovalRequestById Get /app/workflows/approval_requests/{approval_id} Get approval request details
AppWorkflowsAPI ListAppWorkflows Get /app/workflows List app workflows
AppWorkflowsAPI ListApprovalRequests Get /app/workflows/approval_requests List approval requests
AppWorkflowsAPI RevokeApprovalRequest Post /app/workflows/approval_requests/{approval_id}/revoke Revoke approval request
DevelopersAPI GetApiKeyInfo Get /developers/api_key_info Get API key information
DevelopersAPI ListCallbackMessages Get /developers/callback_messages List all callback messages
DevelopersAPI RetryCallbackMessage Post /developers/callback_messages/{message_id}/retry Retry callback message
DevelopersWebhooksAPI CreateWebhookEndpoint Post /webhooks/endpoints Register webhook endpoint
DevelopersWebhooksAPI GetWebhookEndpointById Get /webhooks/endpoints/{endpoint_id} Get webhook endpoint information
DevelopersWebhooksAPI GetWebhookEventById Get /webhooks/endpoints/{endpoint_id}/events/{event_id} Retrieve event information
DevelopersWebhooksAPI ListWebhookEndpoints Get /webhooks/endpoints List webhook endpoints
DevelopersWebhooksAPI ListWebhookEventDefinitions Get /webhooks/events/definitions Get webhook event types
DevelopersWebhooksAPI ListWebhookEventLogs Get /webhooks/endpoints/{endpoint_id}/events/{event_id}/logs List webhook event logs
DevelopersWebhooksAPI ListWebhookEvents Get /webhooks/endpoints/{endpoint_id}/events List all webhook events
DevelopersWebhooksAPI RetryWebhookEventById Post /webhooks/endpoints/{endpoint_id}/events/{event_id}/retry Retry event
DevelopersWebhooksAPI TriggerTestWebhookEvent Post /webhooks/events/trigger Trigger test event
DevelopersWebhooksAPI UpdateWebhookEndpointById Put /webhooks/endpoints/{endpoint_id} Update webhook endpoint
FeeStationAPI EstimateFeeStationFee Post /fee_station/transactions/estimate_fee Estimate fee for Fee Station transaction
FeeStationAPI GetFeeStationTransactionById Get /fee_station/transactions/{transaction_id} Get Fee Station transaction information
FeeStationAPI ListFeeStationAddresses Get /fee_station/addresses List Fee Station addresses
FeeStationAPI ListFeeStationTransactions Get /fee_station/transactions List all Fee Station transactions
FeeStationAPI ListTokenBalancesForFeeStation Get /fee_station/tokens List Fee Station token balances
OAuthAPI ExchangePermissionToken Post /oauth/permission_token/exchange Get Access Token
OAuthAPI GetToken Get /oauth/token Get Org Access Token
OAuthAPI RefreshPermissionToken Post /oauth/permission_token/refresh Refresh Access Token
OAuthAPI RefreshToken Post /oauth/token Refresh Org Access Token
OrganizationsAPI GetOrgInfo Get /organizations/info Get organization information
PaymentAPI CancelRefundById Put /payments/refunds/{refund_id}/cancel Cancel refund order
PaymentAPI CreateCryptoAddress Post /payments/crypto_addresses Create crypto address
PaymentAPI CreateForcedSweepRequest Post /payments/force_sweep_requests Create forced sweep
PaymentAPI CreateMerchant Post /payments/merchants Create merchant
PaymentAPI CreatePaymentOrder Post /payments/orders Create pay-in order
PaymentAPI CreateRefund Post /payments/refunds Create refund order
PaymentAPI CreateSettlementRequest Post /payments/settlement_requests Create settlement request
PaymentAPI DeleteCryptoAddress Post /payments/crypto_addresses/{crypto_address_id}/delete Delete crypto address
PaymentAPI GetExchangeRate Get /payments/exchange_rates/{token_id}/{currency} Get exchange rate
PaymentAPI GetPaymentOrderDetailById Get /payments/orders/{order_id} Get pay-in order information
PaymentAPI GetRefundDetailById Get /payments/refunds/{refund_id} Get refund order information
PaymentAPI GetRefunds Get /payments/refunds List all refund orders
PaymentAPI GetSettlementById Get /payments/settlement_requests/{settlement_request_id} Get settlement request information
PaymentAPI GetSettlementInfoByIds Get /payments/settlement_info Get withdrawable balances
PaymentAPI GetTopUpAddress Get /payments/topup/address Get top-up address
PaymentAPI ListBankAccounts Get /payments/bank_accounts List all bank accounts
PaymentAPI ListCryptoAddresses Get /payments/crypto_addresses List crypto addresses
PaymentAPI ListForcedSweepRequests Get /payments/force_sweep_requests List forced sweeps
PaymentAPI ListMerchants Get /payments/merchants List all merchants
PaymentAPI ListPaymentOrders Get /payments/orders List all pay-in orders
PaymentAPI ListPaymentSupportedTokens Get /payments/supported_tokens List all supported tokens
PaymentAPI ListSettlementDetails Get /payments/settlement_details List all settlement details
PaymentAPI ListSettlementRequests Get /payments/settlement_requests List all settlement requests
PaymentAPI ListTopUpPayers Get /payments/topup/payers List payers
PaymentAPI UpdateMerchantById Put /payments/merchants/{merchant_id} Update merchant
PaymentAPI UpdatePaymentOrder Put /payments/orders/{order_id} Update pay-in order
PaymentAPI UpdateRefundById Put /payments/refunds/{refund_id} Update refund order information
PaymentAPI UpdateTopUpAddress Put /payments/topup/address Update top-up address
PrimeBrokerAPI ChangeGuardPubkey Put /prime_broker/user/{user_id}/guard_pubkey Change Guard pubkey binding
PrimeBrokerAPI CreateGuardPubkey Post /prime_broker/user/{user_id}/guard_pubkey Create Guard pubkey binding
PrimeBrokerAPI CreatePrimeBrokerAddress Post /prime_broker/user/{user_id}/addresses Bind addresses to a broker user
PrimeBrokerAPI DeleteGuardPubkey Post /prime_broker/user/{user_id}/guard_pubkey/delete Delete Guard pubkey binding
PrimeBrokerAPI QueryApprovalStatement Get /prime_broker/approval_statement/{statement_id} Query approval statement
PrimeBrokerAPI QueryGuardPubkey Get /prime_broker/user/{user_id}/guard_pubkey Query a Guard pubkey
StakingsAPI CreateBabylonAirdropRegistration Post /stakings/protocols/babylon/airdrops/registrations Register for Babylon airdrop
StakingsAPI CreateBabylonStakingRegistration Post /stakings/protocols/babylon/stakings/registrations Register for Babylon Phase-2
StakingsAPI CreateClaimActivity Post /stakings/activities/claim Create claim activity
StakingsAPI CreateStakeActivity Post /stakings/activities/stake Create stake activity
StakingsAPI CreateUnstakeActivity Post /stakings/activities/unstake Create unstake activity
StakingsAPI CreateWithdrawActivity Post /stakings/activities/withdraw Create withdraw activity
StakingsAPI GetBabylonAirdropRegistrationById Get /stakings/protocols/babylon/airdrops/registrations/{registration_id} Get Babylon airdrop registration details
StakingsAPI GetBabylonStakingRegistrationById Get /stakings/protocols/babylon/stakings/registrations/{registration_id} Get Babylon Phase-2 registration details
StakingsAPI GetStakingActivityById Get /stakings/activities/{activity_id} Get staking activity details
StakingsAPI GetStakingById Get /stakings/{staking_id} Get staking position details
StakingsAPI GetStakingEstimationFee Post /stakings/estimate_fee Estimate staking fees
StakingsAPI GetStakingEstimationFeeV2 Post /stakings/estimate_fee_v2 Estimate staking fees v2
StakingsAPI GetStakingPoolById Get /stakings/pools/{pool_id} Get staking pool details
StakingsAPI ListBabylonAirdropRegistrations Get /stakings/protocols/babylon/airdrops/registrations List Babylon airdrop registrations
StakingsAPI ListBabylonEligibleAirdrops Get /stakings/protocols/babylon/airdrops/eligibles List wallets eligible for Babylon airdrop
StakingsAPI ListBabylonEligibleStakings Get /stakings/protocols/babylon/stakings/eligibles List staking positions eligible for Babylon Phase-2
StakingsAPI ListBabylonStakingRegistrations Get /stakings/protocols/babylon/stakings/registrations List Babylon Phase-2 registrations
StakingsAPI ListStakingActivities Get /stakings/activities List staking activities
StakingsAPI ListStakingPools Get /stakings/pools List staking pools
StakingsAPI ListStakings Get /stakings List staking positions
TransactionsAPI BroadcastSignedTransactions Post /transactions/broadcast Broadcast signed transactions
TransactionsAPI CancelTransactionById Post /transactions/{transaction_id}/cancel Cancel transaction
TransactionsAPI CheckLoopTransfers Get /transactions/check_loop_transfers Check Cobo Loop transfers
TransactionsAPI CreateContractCallTransaction Post /transactions/contract_call Call smart contract
TransactionsAPI CreateMessageSignTransaction Post /transactions/message_sign Sign message
TransactionsAPI CreateTransferTransaction Post /transactions/transfer Transfer token
TransactionsAPI DropTransactionById Post /transactions/{transaction_id}/drop Drop transaction
TransactionsAPI EstimateFee Post /transactions/estimate_fee Estimate transaction fee
TransactionsAPI GetTransactionApprovalDetail Get /transactions/{transaction_id}/approval_detail Get transaction approval details
TransactionsAPI GetTransactionById Get /transactions/{transaction_id} Get transaction information
TransactionsAPI ListTransactionApprovalDetails Get /transactions/approval_details List transaction approval details
TransactionsAPI ListTransactions Get /transactions List all transactions
TransactionsAPI ResendTransactionById Post /transactions/{transaction_id}/resend Resend transaction
TransactionsAPI SignAndBroadcastTransactionById Post /transactions/{transaction_id}/sign_and_broadcast Sign and broadcast transaction
TransactionsAPI SpeedupTransactionById Post /transactions/{transaction_id}/speedup Speed up transaction
TravelRuleAPI GetTransactionLimitation Get /travel_rule/transaction/limitation Retrieve transaction limitations
TravelRuleAPI ListSupportedCountries Get /travel_rule/transaction/countries List supported countries
TravelRuleAPI SubmitDepositTravelRuleInfo Post /travel_rule/transaction/deposit/travel_rule_info Submit Travel Rule information for deposits
TravelRuleAPI SubmitWithdrawTravelRuleInfo Post /travel_rule/transaction/withdraw/travel_rule_info Submit Travel Rule information for withdrawals
WalletsAPI BatchCheckUtxo Post /wallets/{wallet_id}/utxos/batch_check Batch check UTXOs
WalletsAPI CheckAddressChainsValidity Get /wallets/check_address_chains_validity Check address validity across chains
WalletsAPI CheckAddressValidity Get /wallets/check_address_validity Check address validity
WalletsAPI CheckAddressesValidity Get /wallets/check_addresses_validity Check addresses validity
WalletsAPI CreateAddress Post /wallets/{wallet_id}/addresses Create addresses in wallet
WalletsAPI CreateTokenListingRequest Post /wallets/tokens/listing_requests Create token listing request
WalletsAPI CreateWallet Post /wallets Create wallet
WalletsAPI DeleteWalletById Post /wallets/{wallet_id}/delete Delete wallet
WalletsAPI GetChainById Get /wallets/chains/{chain_id} Get chain information
WalletsAPI GetMaxTransferableValue Get /wallets/{wallet_id}/max_transferable_value Get maximum transferable value
WalletsAPI GetMaxTransferableValueWithFeeModel Post /wallets/{wallet_id}/max_transferable_value_with_fee_model Estimate maximum transferable value
WalletsAPI GetTokenById Get /wallets/tokens/{token_id} Get token information
WalletsAPI GetTokenListingRequestByRequestId Get /wallets/tokens/listing_requests/{request_id} Get token listing request
WalletsAPI GetWalletById Get /wallets/{wallet_id} Get wallet information
WalletsAPI ListAddressBalancesByToken Get /wallets/{wallet_id}/tokens/{token_id} List address balances by token
WalletsAPI ListAddresses Get /wallets/{wallet_id}/addresses List wallet addresses
WalletsAPI ListEnabledChains Get /wallets/enabled_chains List enabled chains
WalletsAPI ListEnabledTokens Get /wallets/enabled_tokens List enabled tokens
WalletsAPI ListSupportedChains Get /wallets/chains List supported chains
WalletsAPI ListSupportedTokens Get /wallets/tokens List supported tokens
WalletsAPI ListTokenBalancesForAddress Get /wallets/{wallet_id}/addresses/{address}/tokens List token balances by address
WalletsAPI ListTokenBalancesForWallet Get /wallets/{wallet_id}/tokens List token balances by wallet
WalletsAPI ListTokenListingRequests Get /wallets/tokens/listing_requests List token listing requests
WalletsAPI ListUtxos Get /wallets/{wallet_id}/utxos List UTXOs
WalletsAPI ListWallets Get /wallets List all wallets
WalletsAPI LockUtxos Post /wallets/{wallet_id}/utxos/lock Lock UTXOs
WalletsAPI RefreshAddressBalancesByToken Put /wallets/{wallet_id}/tokens/{token_id}/refresh_address_balances Refresh address balances by token
WalletsAPI UnlockUtxos Post /wallets/{wallet_id}/utxos/unlock Unlock UTXOs
WalletsAPI UpdateWalletById Put /wallets/{wallet_id} Update wallet
WalletsExchangeWalletAPI ListAssetBalancesForExchangeWallet Get /wallets/{wallet_id}/exchanges/assets List asset balances
WalletsExchangeWalletAPI ListExchanges Get /wallets/exchanges List supported exchanges
WalletsExchangeWalletAPI ListSupportedAssetsForExchange Get /wallets/exchanges/{exchange_id}/assets List supported assets
WalletsExchangeWalletAPI ListSupportedChainsForExchange Get /wallets/exchanges/{exchange_id}/assets/{asset_id}/chains List supported chains
WalletsMPCWalletsAPI CancelTssRequestById Post /wallets/mpc/vaults/{vault_id}/tss_requests/{tss_request_id}/cancel Cancel TSS request
WalletsMPCWalletsAPI CreateKeyShareHolderGroup Post /wallets/mpc/vaults/{vault_id}/key_share_holder_groups Create key share holder group
WalletsMPCWalletsAPI CreateMpcProject Post /wallets/mpc/projects Create project
WalletsMPCWalletsAPI CreateMpcVault Post /wallets/mpc/vaults Create vault
WalletsMPCWalletsAPI CreateTssRequest Post /wallets/mpc/vaults/{vault_id}/tss_requests Create TSS request
WalletsMPCWalletsAPI DeleteKeyShareHolderGroupById Post /wallets/mpc/vaults/{vault_id}/key_share_holder_groups/{key_share_holder_group_id}/delete Delete key share holder group
WalletsMPCWalletsAPI GetKeyShareHolderByTssNodeId Get /wallets/mpc/vaults/{vault_id}/key_share_holders/{tss_node_id} Get key share holder information
WalletsMPCWalletsAPI GetKeyShareHolderGroupById Get /wallets/mpc/vaults/{vault_id}/key_share_holder_groups/{key_share_holder_group_id} Get key share holder group information
WalletsMPCWalletsAPI GetMpcProjectById Get /wallets/mpc/projects/{project_id} Get project information
WalletsMPCWalletsAPI GetMpcVaultById Get /wallets/mpc/vaults/{vault_id} Get vault information
WalletsMPCWalletsAPI GetTssRequestById Get /wallets/mpc/vaults/{vault_id}/tss_requests/{tss_request_id} Get TSS request
WalletsMPCWalletsAPI ListCoboKeyHolders Get /wallets/mpc/cobo_key_share_holders List all Cobo key share holders
WalletsMPCWalletsAPI ListKeyShareHolderGroups Get /wallets/mpc/vaults/{vault_id}/key_share_holder_groups List all key share holder groups
WalletsMPCWalletsAPI ListKeyShareHolders Get /wallets/mpc/vaults/{vault_id}/key_share_holders List all key share holders
WalletsMPCWalletsAPI ListMpcProjects Get /wallets/mpc/projects List all projects
WalletsMPCWalletsAPI ListMpcVaults Get /wallets/mpc/vaults List all vaults
WalletsMPCWalletsAPI ListTssRequests Get /wallets/mpc/vaults/{vault_id}/tss_requests List TSS requests
WalletsMPCWalletsAPI UpdateKeyShareHolderGroupById Put /wallets/mpc/vaults/{vault_id}/key_share_holder_groups/{key_share_holder_group_id} Update key share holder group
WalletsMPCWalletsAPI UpdateMpcProjectById Put /wallets/mpc/projects/{project_id} Update project name
WalletsMPCWalletsAPI UpdateMpcVaultById Put /wallets/mpc/vaults/{vault_id} Update vault name
WalletsSmartContractWalletsAPI ListSafeWalletDelegates Post /wallets/{wallet_id}/smart_contracts/delegates List Delegates

Documentation For Models

Documentation For Authorization

Authentication schemes defined for the API:

CoboAuth

  • Type: API key
  • API key parameter name: BIZ-API-KEY
  • Location: HTTP header

Note, each API key must be added to a map of map[string]APIKey where the key is: BIZ-API-KEY and passed in as the auth context for each request.

Example

auth := context.WithValue(
		context.Background(),
		cobo_waas2.ContextAPIKeys,
		map[string]cobo_waas2.APIKey{
			"BIZ-API-KEY": {Key: "API_KEY_STRING"},
		},
	)
r, err := client.Service.Operation(auth, args)

CoboSignature

  • Type: API key
  • API key parameter name: BIZ-API-SIGNATURE
  • Location: HTTP header

Note, each API key must be added to a map of map[string]APIKey where the key is: BIZ-API-SIGNATURE and passed in as the auth context for each request.

Example

auth := context.WithValue(
		context.Background(),
		cobo_waas2.ContextAPIKeys,
		map[string]cobo_waas2.APIKey{
			"BIZ-API-SIGNATURE": {Key: "API_KEY_STRING"},
		},
	)
r, err := client.Service.Operation(auth, args)

CoboNonce

  • Type: API key
  • API key parameter name: BIZ-API-NONCE
  • Location: HTTP header

Note, each API key must be added to a map of map[string]APIKey where the key is: BIZ-API-NONCE and passed in as the auth context for each request.

Example

auth := context.WithValue(
		context.Background(),
		cobo_waas2.ContextAPIKeys,
		map[string]cobo_waas2.APIKey{
			"BIZ-API-NONCE": {Key: "API_KEY_STRING"},
		},
	)
r, err := client.Service.Operation(auth, args)

OAuth2

  • Type: OAuth
  • Flow: accessCode
  • Authorization URL: https://auth.cobo.com/authorize
  • Scopes:
  • address_book.read: Read address book
  • api_key.read: Read API key information
  • callback.read: Read callback message
  • callback.resend: Resend callback message
  • wallet.create: Create wallet
  • wallet.read: Read wallet information
  • wallet.update: Update wallet information
  • wallet.delete: Delete wallet information
  • wallet.create_address: Create wallet address
  • wallet.manage_utxo: Manage UTXO
  • mpc_project.create: Create MPC project
  • mpc_project.read: Read MPC project information
  • mpc_project.update: Update MPC project information
  • mpc_vault.create: Create MPC Vault
  • mpc_vault.read: Read MPC Vault information
  • mpc_vault.update: Update MPC Vault information
  • mpc_key_group.create: Create MPC key group
  • mpc_key_group.read: Read MPC key group information
  • mpc_key_group.update: Update MPC key group information
  • mpc_key_group.delete: Delete MPC key group information
  • transaction.read: Read transaction information
  • transaction.withdraw: Make withdrawals
  • transaction.estimate_fee: Estimate transaction fee
  • transaction.contract_call: Initiate contract calls
  • transaction.message_sign: Initiate message signings
  • transaction.stake: Stake assets
  • transaction.unstake: Unstake assets
  • transaction.unstake_withdraw: Withdraw unstaked assets
  • transaction.manage: Manage ongoing transactions
  • transaction.update: Update transaction notes
  • travel_rule.read: Read travel rule information
  • travel_rule.edit: Edit travel rule information
  • webhook.read: Read webhook URLs/events
  • webhook.edit: Edit webhook URLs
  • webhook.resend: Resend webhook events
  • payment_orders_payin.create: Create pay-in order
  • payment_orders_payin.read: Read pay-in order information
  • payment_orders_payin.update: Update pay-in order
  • payment_orders_refund.create: Create payment refund order
  • payment_orders_refund.read: Read payment refund order information
  • payment_settlement.create: Create payment settlement request
  • payment_settlement.read: Read payment settlement request information
  • payment_merchant.create: Create payment merchant
  • payment_merchant.read: Read payment merchant information
  • payment_merchant.update: Update payment merchant
  • payment_force_sweep.create: Create payment force sweep request
  • payment_force_sweep.read: Read payment force sweep request information

Example

auth := context.WithValue(context.Background(), cobo_waas2.ContextAccessToken, "ACCESSTOKENSTRING")
r, err := client.Service.Operation(auth, args)

Or via OAuth2 module to automatically refresh tokens and perform user authentication.

import "golang.org/x/oauth2"

/* Perform OAuth2 round trip request and obtain a token */

tokenSource := oauth2cfg.TokenSource(createContext(httpClient), &token)
auth := context.WithValue(oauth2.NoContext, cobo_waas2.ContextOAuth2, tokenSource)
r, err := client.Service.Operation(auth, args)

Documentation for Utility Methods

Due to the fact that model structure members are all pointers, this package contains a number of utility functions to easily obtain pointers to values of basic types. Each of these functions takes a value of the given basic type and returns a pointer to it:

  • PtrBool
  • PtrInt
  • PtrInt32
  • PtrInt64
  • PtrFloat
  • PtrFloat32
  • PtrFloat64
  • PtrString
  • PtrTime

Author

help@cobo.com

About

WaaS2 Go SDK

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •