Help us shape the future of Go! Take the 2026 Go Developer Survey

migration

package
v3.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 1, 2026 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Package migration owns the ephemeral analysis types printed by `wails3 migrate`. Migration has no durable state: routing depends only on wails.yaml.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Diagnostic

type Diagnostic struct {
	Severity string `json:"severity"`
	Code     string `json:"code"`
	File     string `json:"file,omitempty"`
	Task     string `json:"task,omitempty"`
	Message  string `json:"message"`
}

type Report

type Report struct {
	Version     int               `json:"version"`
	CompletedBy string            `json:"completed_by"`
	Complete    bool              `json:"complete"`
	Wrote       []string          `json:"wrote,omitempty"`
	Sources     map[string]string `json:"sources"`
	Taskfiles   []Taskfile        `json:"taskfiles,omitempty"`
	Diagnostics []Diagnostic      `json:"diagnostics,omitempty"`
}

type Taskfile

type Taskfile struct {
	File           string   `json:"file"`
	Role           string   `json:"role"`
	Classification string   `json:"classification"`
	ModifiedTasks  []string `json:"modified_tasks,omitempty"`
	MissingTasks   []string `json:"missing_tasks,omitempty"`
}

Taskfile records how a project Taskfile relates to defaults known by the migrating CLI. Classification is one of current-default, historical-default, customised, or custom.

Directories

Path Synopsis
Package taskfile reads legacy build declarations for one-way migration.
Package taskfile reads legacy build declarations for one-way migration.
ast

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL