Discover Packages
github.com/wailsapp/wails/v3
internal
typeconstraints
package
Version:
v3.1.0
Opens a new window with list of versions in this module.
Published: Nov 1, 2026
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package typeconstraints computes the structural restrictions used by the
binding generator. Method and comparable requirements remain go/types' job.
View Source
var (
ErrEmpty = errors .New ("empty structural type set")
ErrInvalid = errors .New ("invalid or cyclic type constraint")
ErrComplex = errors .New ("type constraint exceeds normalization limits")
)
Terms returns a minimal union of exact and underlying-type terms. A nil slice
with no error means unrestricted, while ErrEmpty means no structural matches.
The result deliberately excludes method and comparable filtering.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.