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

edge

package
v0.51.0 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2026 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Edge

type Edge struct {
	ID     string `json:"id"`
	Source string `json:"source"`
	Target string `json:"target"`
	Type   Type   `json:"type"`
}

func (Edge) IsDefault

func (e Edge) IsDefault() bool

func (Edge) IsFailure

func (e Edge) IsFailure() bool

func (Edge) IsSuccess

func (e Edge) IsSuccess() bool

type Type

type Type string
const (
	TypeDefault Type = "normal"
	TypeSuccess Type = "success"
	TypeFailure Type = "failure"
)

Jump to

Keyboard shortcuts

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