Skip to main content
Version: Release 25.1

Go SDK Overview

The Digital.ai Release Go SDK provides a set of tools and interfaces to help you integrate Release with your custom applications and extend Release functionality using Go programming language.

Prerequisites

To use the Digital.ai Release Go SDK, you need:

  • Go 1.20 or later
  • Access to a Digital.ai Release instance
  • Basic familiarity with Go programming

Installation

To use the Digital.ai Release Go SDK in your project, add it as a dependency:

go get github.com/digital-ai/release-integration-sdk-go

Template Project

The Release Integration Template for Go provides a starting point for building your own Release integration using the Go SDK.

You can use this template by clicking "Use this template" on GitHub or cloning it directly:

git clone https://github.com/digital-ai/release-integration-template-go.git

The template repository includes detailed documentation and examples to help you get started quickly with your integration project.

Key Features

REST Client

The SDK provides a robust REST client that:

  • Handles authentication and session management
  • Supports both username/password and API key authentication
  • Manages HTTP requests with automatic retries and timeouts
  • Includes comprehensive error handling

Core API Features

  • Templates API for managing release templates
  • Folders API for organizing and managing folders
  • Release API for creating and controlling releases
  • Configuration API for system settings
  • Variables API for managing global and release variables

Git Operations Support

The SDK includes Git operations support through a command pattern interface, allowing you to:

  • Interact with both remote and local Git repositories
  • Perform standard Git operations (clone, push, pull, etc.)
  • Manage branches and commits
  • Handle repository configurations

Helper Utilities

  • JSON marshaling/unmarshaling utilities
  • DateTime handling functions
  • Error wrapping and contextualization
  • Logging infrastructure