version

package
v0.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 1, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package version provides the schema version of the SDK.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SDKVersion

type SDKVersion struct {
	// Version contains the version of the API, aka v1.2.3 .
	Version string
}

SDKVersion describes the version information of the API.

var SDK SDKVersion = SDKVersion{
	Version: "0.1.0",
}

SDK contains the version information of the SDK.

func (SDKVersion) AsARNFormat

func (s SDKVersion) AsARNFormat() string

AsARNFormat returns the API version in a format that ARN understands.

func (SDKVersion) String

func (s SDKVersion) String() string

type Schema

type Schema string

Schema is the schema version of the API. The Go SDK only supports from schema version 3.

const (
	// V3 is the schema version 3.
	V3 Schema = "3.0"
)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL