Skip to content

coinbase-samples/core-go

Repository files navigation

Deprecated: This repository has moved to github.com/coinbase/core-go. Install with go get github.com/coinbase/core-go and update imports from github.com/coinbase-samples/core-go to github.com/coinbase/core-go. This repository is no longer maintained.

Core Package README

GoDoc Go Report Card

Overview

The core package provides a centralized and reusable implementation for making HTTP requests and handling API responses for Coinbase Go SDKs. It includes features for setting custom headers, managing credentials, and providing structured error handling.

Installation

The core package is already integrated with the Coinbase Prime and Coinbase International Exchange (INTX) Go SDKs. To manually install the core package, use the following command:

go get github.com/coinbase-samples/core-go

Usage

To use the core package, import it into your project:

import "github.com/coinbase-samples/core-go"

Then, create a new instance of the Client struct:

client := core.NewClient()

🚨 Security and Bug Reports

If you discover a security vulnerability within this SDK, please see our Security Policy for disclosure information.

📧 Contact

License

The Prime Go SDK sample library is free and open source and released under the Apache License, Version 2.0.

About

Core tools for Coinbase Sample Go SDKs

Resources

Contributing

Security policy

Stars

6 stars

Watchers

2 watching

Forks

Packages

 
 
 

Contributors

Languages