golang

package
v0.22.2 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Map

func Map[I any, O any](input []I, mapFunc func(item I) O) []O

Types

type Encoder

type Encoder struct {
	// contains filtered or unexported fields
}

func NewEncoder

func NewEncoder(logger *zap.Logger) *Encoder

func (*Encoder) EncodeDashboard

func (encoder *Encoder) EncodeDashboard(dashboard sdk.Board) (string, error)

type RowIR

type RowIR struct {
	Title     string
	RepeatFor *string
	Collapsed bool
	Panels    []jen.Code
}

Jump to

Keyboard shortcuts

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