choices

package
v1.22.21 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2025 License: BSD-3-Clause Imports: 0 Imported by: 0

Documentation

Index

Examples

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Decidable

type Decidable struct {
	Status Status
}

Decidable represents a block that can be decided

type Status

type Status uint8

Status represents the status of a block

const (
	Unknown Status = iota
	Processing
	Rejected
	Accepted
)

func (Status) String

func (s Status) String() string

String returns string representation

Example
s := Accepted
println(s.String())
// Output would be: Accepted

Jump to

Keyboard shortcuts

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