format

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2017 License: Apache-2.0 Imports: 8 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 parser.ParseMap, 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