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

# README

Generator

This package contains the static analyser used for parsing Wails projects so that we may:

  • Generate the bindings for the frontend
  • Generate Typescript definitions for the structs used by the bindings

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Functions

FindServices scans the given packages for invocations of the NewService function from the Wails application package.
No description provided by the author
LoadPackages loads the packages specified by the given patterns and their whole dependency tree.
NewError report initialises an ErrorReport instance with the provided Logger implementation.
NewGenerator configures a new generator instance.
ResolvePatterns returns a slice containing all package paths that match the given patterns, according to the underlying build tool and within the context of the current working directory.
ResolveSystemPaths resolves paths for the Wails system.

# Variables

ErrBadApplicationPackage indicates that the Wails application package has invalid content.
ErrNoApplicationPackage indicates that the canonical path for the Wails application package did not match any actual package.
ErrNoContextPackage indicates that the canonical path for the standard context package did not match any actual package.
ErrNoPackages is returned by [Generator.Generate] when [LoadPackages] returns no error and no packages.

# Structs

ErrorReport accumulates and logs error and warning messages, with deduplication.
Generator wraps all bookkeeping data structures that are needed to generate bindings for a set of packages.