Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Endpoint ¶
func (*Endpoint) AddCluster ¶
type Endpoints ¶
type Endpoints []*Endpoint
func (*Endpoints) AddEndpoint ¶
func (*Endpoints) LastEndpoint ¶
type Option ¶
type Option[T any] struct { // contains filtered or unexported fields }
func NewEmptyOption ¶
type PinWithID ¶
PinWithID is similar to Pin, but the difference is that user can define ID & short Pin for this type.
So insted of `{id: 'some', port: 0, pin: 1}` user can provide `{id: 'some', pin: 0.04}`.
Still, probably there is a more elegant way to achieve this.
type PinWithIDSlice ¶
type PinWithIDSlice []PinWithID
func (PinWithIDSlice) ToPins ¶
func (s PinWithIDSlice) ToPins() []Pin
type Semver ¶
type Semver [3]uint8
func ParseSemver ¶
func (Semver) Compare ¶
Compare returns -1 if receiver is smaller than another, 1 if receiver is larger than another and 0 if they are equal.
func (Semver) SameMajorMinor ¶
SameMajorMinor checks if major and minor versions are equal.
Directories
¶
| Path | Synopsis |
|---|---|
|
This package provides functionality to define configuration option with their values, and also define dependencies on other configuration options.
|
This package provides functionality to define configuration option with their values, and also define dependencies on other configuration options. |
|
This package provides reasonable functionality to define overlay files for the boards.
|
This package provides reasonable functionality to define overlay files for the boards. |
Click to show internal directories.
Click to hide internal directories.