Skip to main content

Core JSON Types

This page documents the public Go API for core json types. Every constructor and method shown here is part of the fluent github.com/nicklambourne/slackblocks/go/v2 package.

Buildable

Buildable is implemented by every fluent Slack object builder.

type Buildable interface {
Build() (Object, error)
}

Related types: Object.

GroupBuildable

GroupBuildable is implemented by higher-level components that expand to multiple ordinary Slack objects inside a parent collection.

type GroupBuildable interface {
BuildMany() ([]Object, error)
}

Related types: Object.

Object

Object is a JSON-compatible Slack wire object.

type Object map[string]any

SpecVersion

SpecVersion is the shared cross-language conformance version implemented by this module.

const SpecVersion = "1.1.0"