schema

package
v0.28.0-dev.0 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2023 License: Apache-2.0 Imports: 2 Imported by: 17

Documentation

Overview

Package schema provides the schema for the output.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Output

type Output struct {
	Version    Version                `json:"version,omitempty"`
	Options    any                    `json:"options,omitempty"`
	Solutions  []any                  `json:"solutions,omitempty"`
	Statistics *statistics.Statistics `json:"statistics,omitempty"`
}

Output adds Output information by wrapping the solutions.

func NewOutput

func NewOutput[Solution any](options any, solutions ...Solution) Output

NewOutput creates a new Output.

type Version

type Version struct {
	Sdk string `json:"sdk"`
}

Version of the sdk.

Jump to

Keyboard shortcuts

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