package
3.0.0-alpha.9
Repository: https://github.com/wailsapp/wails.git
Documentation: pkg.go.dev

# Functions

IsAny returns true if the given type will be rendered as a TS any type.
IsClass returns true if the given type will be rendered as a JS/TS model class (or interface).
IsDirective returns true if the given comment is a directive of the form //wails: + directive.
IsJSONMarshaler tests whether the given type implements the json.Marshaler interface.
IsMapKey returns true if the given type is accepted as a map key by encoding/json.
IsString returns true if the given type (or element type for pointers) will be rendered as an alias for the TS string type.
IsTextMarshaler tests whether the given type implements the encoding.TextMarshaler interface.
MaybeJSONMarshaler tests whether the given type implements the json.Marshaler interface for at least one receiver form.
MaybeTextMarshaler tests whether the given type implements the encoding.TextMarshaler interface for at least one receiver form.
NewCollector initialises a new Collector instance for the given package set.
NewImportMap initialises an import map for the given importer package.
ParseCondition parses an optional two-character condition prefix for include or inject directives.
ParseDirective extracts the argument portion of a //wails: + directive comment.

# Structs

Collector wraps all bookkeeping data structures that are needed to collect data about a set of packages, bindings and models.
No description provided by the author
ConstInfo records information about a constant declaration.
FieldInfo records information about a struct field declaration.
GroupInfo records information about a group of type, field or constant declarations.
No description provided by the author
No description provided by the author
MethodInfo records information about a method declaration.
No description provided by the author
No description provided by the author
PackageIndex lists all bindings, models and unexported models generated from a package.
PackageInfo records information about a package.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
TypeInfo records information about a type declaration.

# Interfaces

Info instances provide information about either a type-checker object, a struct type or a group of declarations.
Scheduler instances provide task scheduling for collection activities.