schema

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2024 License: Apache-2.0 Imports: 3 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 map[string]string

Version info of the output.

Jump to

Keyboard shortcuts

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