Documentation ¶
Overview ¶
Package pin has types for describing pins (connection points).
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Definition ¶
type Definition struct { Name string `json:"-"` Type string `json:"type"` Direction Direction `json:"dir"` }
Definition describes the main properties of a pin.
type Map ¶
type Map map[string]*Definition
Map is a map from pin names to pin definitions.
func (*Map) UnmarshalJSON ¶
UnmarshalJSON unmarshals the map the usual way, and then calls FillNames.
Click to show internal directories.
Click to hide internal directories.