Help us shape the future of Go! Take the 2026 Go Developer Survey

linear

package
v0.2.36 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2026 License: MIT Imports: 12 Imported by: 0

Documentation

Overview

Package linear implements the codefly toolbox contract for Linear via its GraphQL API. Linear responses are deeply nested and verbose; each tool runs the raw JSON through a gortk `json` Spec that flattens the issue array into one compact line per issue — the "gortk for API output" path (applied by spec, not by command routing).

Auth: a Linear API key (https://linear.app/settings/api), passed to New (the cmd reads LINEAR_API_KEY).

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	*registry.Base
	// contains filtered or unexported fields
}

Server implements the Toolbox contract for Linear.

func New

func New(apiKey, version string) *Server

New returns a Server using the given Linear API key.

func (*Server) Tools

func (s *Server) Tools() []*registry.ToolDefinition

Directories

Path Synopsis
cmd
linear-toolbox command
Command linear-toolbox is the standalone binary form of the codefly linear toolbox.
Command linear-toolbox is the standalone binary form of the codefly linear toolbox.

Jump to

Keyboard shortcuts

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