format

package
v0.0.0-...-7a622f3 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package format registers and implements the "format" apic command.

The format command re-formats an API file to a consistent style.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Format

func Format(api *ast.API, m *ast.Mappings, w io.Writer)

Format prints the full re-formatted AST tree to w.

Types

This section is empty.

Jump to

Keyboard shortcuts

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