format

package
v1.7.0-dev-20191004 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2019 License: Apache-2.0 Imports: 7 Imported by: 14

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