package
Version:
v1.0.0
Opens a new window with list of versions in this module.
Published: Mar 25, 2026
License: GPL-3.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package formatter provides PSL code formatting.
AlignFields aligns field definitions by colon position.
Check checks if source is already formatted.
Format formats PSL source code.
type Options struct {
IndentSize int `json:"indent_size"`
AlignFields bool `json:"align_fields"`
SortImports bool `json:"sort_imports"`
}
Options holds formatting options.
DefaultOptions returns default formatting options.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.