gooseproj

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GooseConfig

type GooseConfig struct {
	// Path to directory with go.mod
	//
	// If not set, search for a unique go.mod file.
	GoPath string `toml:"go_path"`
	// Packages to translate. Defaults to [./...].
	PkgPatterns []string `toml:"packages"`
	// Root output directory for Rocq code. Defaults to "src".
	RocqRoot string `toml:"rocq"`
}

GooseConfig defines the format for the goose.toml file that defines a translation config.

func Parse

func Parse(r io.Reader) (*GooseConfig, error)

Jump to

Keyboard shortcuts

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